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

Assert that somefile.x is present after building. #62

Open
ccbrown opened this issue Jun 12, 2016 · 1 comment
Open

Assert that somefile.x is present after building. #62

ccbrown opened this issue Jun 12, 2016 · 1 comment
Labels

Comments

@ccbrown
Copy link
Owner

ccbrown commented Jun 12, 2016

If there's a problem with a build, this will save time by erroring out immediately, and making it really clear where the error occurred. Usage might look something like...

libraries:
    hiredis:
        repository: git@github.com:redis/hiredis.git
        commit: v0.13.2
        project:
            ensures: lib/libhiredis.a
@ccbrown
Copy link
Owner Author

ccbrown commented Jun 12, 2016

It also makes sense to allow negation:

libraries:
    hiredis:
        repository: git@github.com:redis/hiredis.git
        commit: v0.13.2
        project:
            ensures:
                - lib/libhiredis.a
                - !lib/libhiredis.dylib

And in those cases, maybe Needy should just delete files that shouldn't be there.

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

No branches or pull requests

1 participant