chore: update scripts

This commit is contained in:
Steven 2022-08-14 17:55:36 +08:00
parent 63388a7d97
commit 84a3548232
2 changed files with 11 additions and 2 deletions

View file

@ -6,8 +6,8 @@ set -e
cd "$(dirname "$0")/../"
echo "Start building..."
echo "Start building backend..."
go build -o ./memos-build/memos ./bin/server/main.go
echo "Build finished"
echo "Backend built!"

9
scripts/start.sh Executable file
View file

@ -0,0 +1,9 @@
#!/bin/bash
# Usage: ./scripts/start.sh
set -e
cd "$(dirname "$0")/../"
air -c ./scripts/.air.toml