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 web/dist
# build folder # build folder
memos-build build
.DS_Store .DS_Store

View File

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

View File

@ -8,6 +8,6 @@ cd "$(dirname "$0")/../"
echo "Start building backend..." 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!" echo "Backend built!"