memos/scripts/build.sh
2022-07-09 12:57:08 +08:00

11 lines
167 B
Bash

# Usage: sh ./scripts/build.sh
set -e
cd "$(dirname "$0")/../"
echo "Start building..."
go build -o ./memos-build/memos ./bin/server/main.go
echo "Build finished"