Only build, do not run
sathishvj opened this issue · 2 comments
sathishvj commented
Is there a way to only do a build and not run the code?
#bin = "./tmp/main"
#bin = ""
I tried commenting out the bin line, making it empty, and even removing it. But it still runs the program when build succeeds.
Baliedge commented
Try:
[build]
bin = "/usr/bin/make"
cmd = "/usr/bin/true"
Sotatek-HaiPham3 commented
@xiantang Hi, If we set cmd like this, where is the build command that air need to run in order to compile code? Should I need to put build command to pre_cmd or smt?