diff options
author | Alan Pearce | 2014-07-06 12:25:43 +0100 |
---|---|---|
committer | Alan Pearce | 2014-07-06 12:25:43 +0100 |
commit | e117c36fa22f2d59ae034745b992ebd669fe11ba (patch) | |
tree | df04261219adc86dc07d4b22079c79b0e33c61a7 | |
parent | 778c6addbea42d251d90618084c7c535927dc15c (diff) | |
download | nixfiles-e117c36fa22f2d59ae034745b992ebd669fe11ba.tar.lz nixfiles-e117c36fa22f2d59ae034745b992ebd669fe11ba.tar.zst nixfiles-e117c36fa22f2d59ae034745b992ebd669fe11ba.zip |
rcm: Add hook to ensure submodules are correct
-rwxr-xr-x | hooks/pre-up/submodules | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/hooks/pre-up/submodules b/hooks/pre-up/submodules new file mode 100755 index 00000000..ae4f42fd --- /dev/null +++ b/hooks/pre-up/submodules @@ -0,0 +1,5 @@ +#!/usr/bin/env zsh +echo $0:h:h:h +pushd $0:h:h:h +git submodule update --init +popd \ No newline at end of file |