Skip to content

Success return code after there were build errors #365

Closed
@lrworth

Description

@lrworth

I have been running this command to build and run my program:

stack build && ./.stack-work/install/x86_64-osx/lts-2.14/7.8.4/bin/test

If the build ever fails, this does the right thing and doesn't run test. However, if I then run the same command right away without modifying any files, stack build returns a success code and then test is run.

I expect stack build to return non-success if the last build failed.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions