Skip to content

Commit f54b6f5

Browse files
build: add submodule update-to-master just command
1 parent 4ad9701 commit f54b6f5

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
@@ -26,6 +26,14 @@ submodule-init:
2626
submodule-reset:
2727
git submodule update --force
2828

29+
[group("Submodule")]
30+
[doc("Checkout the bdk-ffi submodule to the latest commit on master.")]
31+
submodule-to-master:
32+
cd ./bdk-ffi/ \
33+
&& git fetch origin \
34+
&& git checkout master \
35+
&& git pull origin master
36+
2937
[group("Test")]
3038
[doc("Run all tests.")]
3139
test:

0 commit comments

Comments
 (0)