memos/scripts/build.sh
2022-07-27 19:47:13 +08:00

13 lines
178 B
Bash
Executable file

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