feat: add dev script for windows (#222)

This commit is contained in:
Johnny 2024-07-07 20:09:02 +08:00 committed by GitHub
parent 2f18894e1a
commit 558be11808
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 26 additions and 11 deletions

15
scripts/.air-windows.toml Normal file
View File

@ -0,0 +1,15 @@
root = "."
tmp_dir = ".air"
[build]
bin = "./.air/slash.exe --mode dev"
cmd = "go build -o ./.air/slash.exe ./bin/slash/main.go"
delay = 1000
exclude_dir = [".air", "frontend", "build"]
exclude_file = []
exclude_regex = []
exclude_unchanged = false
follow_symlink = false
full_bin = ""
send_interrupt = true
kill_delay = 2000

View File

@ -2,14 +2,14 @@ root = "."
tmp_dir = ".air"
[build]
bin = "./.air/slash --mode dev"
cmd = "go build -o ./.air/slash ./bin/slash/main.go"
delay = 1000
exclude_dir = [".air", "frontend", "build"]
exclude_file = []
exclude_regex = []
exclude_unchanged = false
follow_symlink = false
full_bin = ""
send_interrupt = true
kill_delay = 2000
bin = "./.air/slash --mode dev"
cmd = "go build -o ./.air/slash ./bin/slash/main.go"
delay = 1000
exclude_dir = [".air", "frontend", "build"]
exclude_file = []
exclude_regex = []
exclude_unchanged = false
follow_symlink = false
full_bin = ""
send_interrupt = true
kill_delay = 2000