8000 Batch (.bat) file generation for assembly, launcher, and release by robby-phd · Pull Request #243 · com-lihaoyi/mill · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Batch (.bat) file generation for assembly, launcher, and release #243 8000

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

Merged
merged 4 commits into from
Mar 20, 2018

Conversation

robby-phd
Copy link
Contributor
@robby-phd robby-phd commented Mar 19, 2018

This PR adds batch file generation for Windows, thus, enabling Window users to run mill without a sh environment (no repl support at the moment; see below). The resulting assembly and release .bat files are similar to the sh version where their corresponding jar file is embedded in it.

Notes:

  • Shifting of command line argument for interactive mode is moved to Main.main because it's difficult to do in batch for arguments with special characters

  • Support for ANSI color is disabled by default in Windows 10 Console; it requires a native API call to enable it. It's best to use terminal replacement such as ConEmu.

  • mill repl does not work because Ammonite repl assumes sh/Unix environment. I think there is still value to offer non-repl .bat version as mill CLI tools are quite nice to use and the client/server mode now provides quick turnaround to probe mill build.

@lihaoyi
Copy link
Member
lihaoyi commented Mar 20, 2018

@robby-phd this looks good to me, feel free to merge when ready

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.

3 participants
0