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

14 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"