chore(dev): update build directory

pull/4304/head
johnnyjoy 3 months ago
parent edc3f1d9d9
commit f1eacfefb0

3
.gitignore vendored

@ -1,6 +1,3 @@
# Air (hot reload) generated
.air
# temp folder # temp folder
tmp tmp

@ -1,11 +1,11 @@
root = "." root = "."
tmp_dir = ".air" tmp_dir = "build"
[build] [build]
bin = "./.air/memos.exe --mode dev" bin = "./build/memos.exe --mode dev"
cmd = "go build -o ./.air/memos.exe ./bin/memos/main.go" cmd = "go build -o ./build/memos.exe ./bin/memos/main.go"
delay = 1000 delay = 1000
exclude_dir = [".air", "web", "build"] exclude_dir = ["web", "build"]
include_ext = ["go", "mod", "sum"] include_ext = ["go", "mod", "sum"]
exclude_file = [] exclude_file = []
exclude_regex = [] exclude_regex = []

@ -1,11 +1,11 @@
root = "." root = "."
tmp_dir = ".air" tmp_dir = "build"
[build] [build]
bin = "./.air/memos --mode dev" bin = "./build/memos --mode dev"
cmd = "go build -o ./.air/memos ./bin/memos/main.go" cmd = "go build -o ./build/memos ./bin/memos/main.go"
delay = 1000 delay = 1000
exclude_dir = [".air", "web", "build"] exclude_dir = ["web", "build"]
include_ext = ["go", "mod", "sum"] include_ext = ["go", "mod", "sum"]
exclude_file = [] exclude_file = []
exclude_regex = [] exclude_regex = []

Loading…
Cancel
Save