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

Add export script so that subsequent buildpacks can use sbt #135

Merged
merged 1 commit into from
Jan 29, 2019

Conversation

jkutner
Copy link
Contributor

@jkutner jkutner commented Jan 29, 2019

Fixes #134


compile

assertEquals 0 "${RETURN}"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you're interested the Node buildpack has some utils that make this a little clearer: https://github.com/heroku/heroku-buildpack-nodejs/blob/master/test/utils#L94

compile

assertEquals 0 "${RETURN}"
assertTrue "Export script should be created" "[ -f export ]"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could additionally execute this script and check the exported vars if you wanted stronger tests

Ex: https://github.com/heroku/heroku-buildpack-nodejs/blob/master/test/run#L956-L1004

@jkutner jkutner merged commit fafc9de into master Jan 29, 2019
@jkutner jkutner deleted the export-sbt branch January 29, 2019 20:58
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