build.sh 180 B

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