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
tmp

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

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

Loading…
Cancel
Save