slash-e/scripts/build.sh
2023-03-16 08:25:58 +08:00

14 lines
172 B
Bash
Executable File

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