Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Only build, do not run #365

Closed
sathishvj opened this issue Dec 14, 2022 · 2 comments
Closed

Only build, do not run #365

sathishvj opened this issue Dec 14, 2022 · 2 comments

Comments

@sathishvj
Copy link

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
Copy link

Try:

[build]
  bin = "/usr/bin/make"
  cmd = "/usr/bin/true"

@Sotatek-HaiPham3
Copy link

@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?
image

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants