From b0956649924d83f6b0cbb95ed34158d4d045bdde Mon Sep 17 00:00:00 2001 From: Determinant Date: Fri, 6 Dec 2019 10:45:17 -0500 Subject: update go submodule recursively --- scripts/build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/build.sh b/scripts/build.sh index 2443a76..a6b991d 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -7,13 +7,15 @@ source "${SRC_DIR}/env.sh" if [[ "$OSTYPE" == "linux-gnu" ]]; then go get -u -d "github.com/$SALTICIDAE_ORG/salticidae-go" + cd "$SALTICIDAE_GO_PATH" + git submodule update --init --recursive cd "$SALTICIDAE_PATH" cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="$SALTICIDAE_PATH/build" . make -j4 make install cd - rm -f "$prefix/libsalticidae.a" - ln -sv "$GOPATH/src/github.com/$SALTICIDAE_ORG/salticidae-go/salticidae/libsalticidae.a" "$prefix/libsalticidae.a" + ln -sv "$SALTICIDAE_PATH/libsalticidae.a" "$prefix/libsalticidae.a" elif [[ "$OSTYPE" == "darwin"* ]]; then brew install Determinant/salticidae/salticidae else -- cgit v1.2.3-70-g09d2