memos/scripts/build.sh
2022-08-27 08:57:05 +08:00

13 lines
180 B
Bash
Executable file

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