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

Wip/stage and dist #17

Merged
merged 3 commits into from
Jul 9, 2013
Merged

Wip/stage and dist #17

merged 3 commits into from
Jul 9, 2013

Conversation

jsuereth
Copy link
Member

@jsuereth jsuereth commented Jul 9, 2013

Adds the play "stage" and "dist" keys with the exact same type/definition so we can begin to standardize on meanings. Also adds scripted test to ensure the stage task works as expected.

Review/look over by @huntc

jsuereth added a commit that referenced this pull request Jul 9, 2013
@jsuereth jsuereth merged commit d2af5f7 into master Jul 9, 2013
@jsuereth jsuereth deleted the wip/stage-and-dist branch July 9, 2013 17:02
mappings <<= sourceDirectory map findSources
mappings <<= sourceDirectory map findSources,
dist <<= packageBin,
stagingDirectory <<= target apply (_ / "stage"),
Copy link
Contributor

Choose a reason for hiding this comment

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

Why not:

stagingDirectory <<= target(_ / "stage"),

Copy link
Member Author

Choose a reason for hiding this comment

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

Well, in sbt 0.13 it won't matter, but in 0.12 I prefer to see apply and map directly. Call me crazy, but it feels more consistent.

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