Skip to content

Commit

Permalink
Initialize git submodules on clean run to be able to compile the infr…
Browse files Browse the repository at this point in the history
…a CLI
  • Loading branch information
ggiraldez committed Dec 19, 2024
1 parent d26884a commit 5d3a2e6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/_common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,9 @@ if ! output=$(

exit 1
fi

if [ ! -f submodules/stack-graphs/stack-graphs/Cargo.toml ]; then
# We declare stack-graphs as our dependency in root's Cargo.toml so we need to
# check it out in order to run `cargo build`
git submodule update
fi

0 comments on commit 5d3a2e6

Please sign in to comment.