-
-
Notifications
You must be signed in to change notification settings - Fork 347
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
universal script generation for assembly, launcher, and release that run on linux and windows #264
Conversation
@LolHens Thanks for following up on this. Not sure if you are done, but I gave it a spin. I (purposely) tried running the generated
I also tried running the generated
So it seems the approach that you used for com-lihaoyi/Ammonite#781 is more robust. Since the script is supposed to be universal for both sh and cmd, can you also remove Also, can you make |
The error you are running into indeed seems very strange. I ran the version I just pushed on my windows system and on a redhat linux machine and it worked fine. |
I don't really know why the build failed. |
Can you try running |
Unfortunately I don't have access to that machine right now so I ran the tests on a local debian installation but I couldn't get all of the tests to succeed there. |
I just tried it again locally on macOS and linux, and tests passed (didn't clean out |
Very nice, thanks! Should I make a pr to change the generated script in ammonite according to this so that the code is equivalent? |
That would be great! |
* changed the method used to skip the script for the other platform to be in sync with com-lihaoyi/mill#264 * set shebang parameter to be false by default * updated docs on how to prepend the shebang line on linux and added info on how to download on windows
@robby-phd it seems as of this commit we stopped uploading windows bat files to |
Oh ok, got it |
As a follow-up to com-lihaoyi/Ammonite#781 this pr generates scripts that can run on linux shell and windows cmd.
It merges the shell and batch scripts introduced in #243.
Feedback is always welcome!