chore: update build folder

This commit is contained in:
steven 2022-08-27 08:57:05 +08:00
parent 64332c3e6a
commit 62657f7f4e
3 changed files with 3 additions and 3 deletions

2
.gitignore vendored
View file

@ -8,6 +8,6 @@ tmp
web/dist
# build folder
memos-build
build
.DS_Store

View file

@ -5,7 +5,7 @@ tmp_dir = ".air"
bin = "./.air/memos"
cmd = "go build -o ./.air/memos ./bin/server/main.go"
delay = 1000
exclude_dir = [".air", "web"]
exclude_dir = [".air", "web", "build"]
exclude_file = []
exclude_regex = []
exclude_unchanged = false

View file

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