memos/scripts/build.sh
2022-08-14 17:55:36 +08:00

14 lines
186 B
Bash
Executable File

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