added hook to automatically update submodules after checkout
This commit is contained in:
parent
d233dc9f82
commit
54d48feb2d
@ -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