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

If build fails, don't continue #21

Open
glinton opened this issue Jun 7, 2017 · 0 comments
Open

If build fails, don't continue #21

glinton opened this issue Jun 7, 2017 · 0 comments

Comments

@glinton
Copy link
Contributor

glinton commented Jun 7, 2017

Currently, if the `compiling application step fails, the deploy will continue as if nothing broke

deploy output

  Compiling code :
    - Cleaning up any previous releases...
    - Copying code...
    - Compiling application :
      api/api.go:9: imported and not used: "strings"
    
    - After compile hook 1 :
       $ cp -r $CODE_DIR/app $APP_DIR/app
    
    - Moving compiled binary into app directory...
...

boxfile.yml

run.config:
  engine: golang
  engine.config:
    build: go build --ldflags="-s"
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

No branches or pull requests

1 participant