Skip to content

Commit

Permalink
fix: add misssing git submodules update
Browse files Browse the repository at this point in the history
  • Loading branch information
bruzina committed Dec 4, 2021
1 parent 7886cf9 commit 5b186d2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/update-repo.bats
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@ setup() {

@test "tools/update-repo basic test" {
function git() {
echo '.'
if [ "$1" = 'rev-parse' ]; then
echo '.'
else
echo -n
fi
}
export -f git

Expand Down
1 change: 1 addition & 0 deletions tools/update-repo
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@ pushd "$REPO_DIR"
# Update repository dependencies
pre-commit autoupdate
pre-commit gc
git submodule update --remote --merge

popd

0 comments on commit 5b186d2

Please sign in to comment.