added hook to automatically update submodules after checkout
This commit is contained in:
parent
cb6a98b0d2
commit
2bfc9bc565
@ -1,3 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
root="$(pwd)"
|
||||
ln -s "$root/hooks" "$root/.git/hooks"
|
||||
|
||||
git submodule update --init fsfw thirdparty/rapidcsv thirdparty/lwgps thirdparty/json
|
||||
|
6
hooks/post-checkout
Executable file
6
hooks/post-checkout
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# update submodules after checkout
|
||||
|
||||
git submodule init
|
||||
git submodule update
|
Loading…
Reference in New Issue
Block a user