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

defaultUniversalScript that runs under windows and linux #301

Merged
merged 5 commits into from
Apr 15, 2018
Merged

defaultUniversalScript that runs under windows and linux #301

merged 5 commits into from
Apr 15, 2018

Conversation

lhns
Copy link

@lhns lhns commented Feb 23, 2018

I have added a defaultUniversalScript helper method that will generate a script that runs in sh and cmd.
The shebang can be disabled, because in cmd it will display a message saying that "#!" is unrecognized.
Also I added $JAVA_OPTS to defaultShellScript.

@lhns
Copy link
Author

lhns commented Apr 12, 2018

Any Feedback on this? If there is no time for this at the moment this is also okay.
This was also implemented in com-lihaoyi/mill#264 and com-lihaoyi/Ammonite#789.

@eed3si9n
Copy link
Member

@LolHens Sorry about the delay.

Copy link
Member

@eed3si9n eed3si9n left a comment

Choose a reason for hiding this comment

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

I think it looks good.
Could you update README https://github.com/sbt/sbt-assembly#prepending-shebang too, plz?

@lhns
Copy link
Author

lhns commented Apr 13, 2018

Okay I updated the readme to reflect the changes. Also I added the javaOpts parameter for the defaultShellScript

@eed3si9n
Copy link
Member

Thanks!

@eed3si9n eed3si9n merged commit 0b9c27b into sbt:master Apr 15, 2018
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