Skip to content

Commit

Permalink
添加了build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
universero committed Aug 10, 2024
1 parent f35262e commit 3f8c4a3
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/usr/bin/env bash
RUN_NAME="meowchat.collection"

mkdir -p output/bin
cp script/* output/
chmod +x output/bootstrap.sh

if [ "$IS_SYSTEM_TEST_ENV" != "1" ]; then
go build -o output/bin/${RUN_NAME}
else
go test -c -covermode=set -o output/bin/${RUN_NAME} -coverpkg=./...
fi

0 comments on commit 3f8c4a3

Please sign in to comment.