Skip to content

Commit 62657f7

Browse files
committed
chore: update build folder
1 parent 64332c3 commit 62657f7

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ tmp
88
web/dist
99

1010
# build folder
11-
memos-build
11+
build
1212

1313
.DS_Store

scripts/.air.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ tmp_dir = ".air"
55
bin = "./.air/memos"
66
cmd = "go build -o ./.air/memos ./bin/server/main.go"
77
delay = 1000
8-
exclude_dir = [".air", "web"]
8+
exclude_dir = [".air", "web", "build"]
99
exclude_file = []
1010
exclude_regex = []
1111
exclude_unchanged = false

scripts/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ cd "$(dirname "$0")/../"
88

99
echo "Start building backend..."
1010

11-
go build -o ./memos-build/memos ./bin/server/main.go
11+
go build -o ./build/memos ./bin/server/main.go
1212

1313
echo "Backend built!"

0 commit comments

Comments
 (0)