chore: update build folder

pull/181/head
steven 3 years ago
parent 64332c3e6a
commit 62657f7f4e

2
.gitignore vendored

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

@ -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

@ -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!"

Loading…
Cancel
Save