Template
1
0
Fork 0

Fixed a bug in 'air.toml' file under [build] > cmd

This commit is contained in:
Aldo Cantu 2024-05-01 21:00:39 +02:00 committed by GitHub
parent f010a88530
commit 3bcaaaf26f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -6,7 +6,7 @@ tmp_dir = "tmp"
args_bin = ["-ip", "127.0.0.1", "-port", "3000"]
bin = "./tmp/main"
pre_cmd = []
cmd = "go build -o ./tmp/main . & cd lib/stylegen && ./gen.sh"
cmd = "go build -o ./tmp/main.exe & cd lib/stylegen && ./gen.sh"
delay = 1000
exclude_dir = ["assets", "tmp", "vendor", "testdata", "lib/stylegen"]
exclude_file = []