Skip to content

Commit 98e0ba0

Browse files
build: add submodule update-to-master just command
1 parent 17a58dd commit 98e0ba0

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

justfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,14 @@ submodule-init:
3636
submodule-reset:
3737
git submodule update --force
3838

39+
[group("Submodule")]
40+
[doc("Checkout the bdk-ffi submodule to the latest commit on master.")]
41+
submodule-to-master:
42+
cd ./bdk-ffi/ \
43+
&& git fetch origin \
44+
&& git checkout master \
45+
&& git pull origin master
46+
3947
[group("Test")]
4048
[doc("Run all tests.")]
4149
test:

0 commit comments

Comments
 (0)