mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore(dev): update build directory
This commit is contained in:
3
.gitignore
vendored
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 = []
|
||||||
|
Reference in New Issue
Block a user