Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Support go build #9

Merged
merged 1 commit into from
May 5, 2014
Merged

Conversation

ariejan
Copy link
Contributor

@ariejan ariejan commented May 4, 2014

This adds an option: :build_only, to run go build instead of go run.

Use case: I want to build my app and see if there are any pending issues (syntax errors, unused variables and imports, etc.), but I don't want to run the app on every run.

Usage (README has been updated as well):

guard 'go', server: 'app.go', build_only: true do
  watch(%r{\.go$})
end

vcastellm pushed a commit that referenced this pull request May 5, 2014
@vcastellm vcastellm merged commit a490acf into vcastellm:master May 5, 2014
@vcastellm
Copy link
Owner

@ariejan thx!

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

Successfully merging this pull request may close these issues.

2 participants