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 powershell script generation option for escriptize on windows; use for rebar3 itself #2293

Merged
merged 3 commits into from
May 23, 2020

Conversation

reganheath
Copy link
Contributor

You must have been expecting this ;)

This adds bootstrap.ps1 and a powershell escriptize wrapper for windows.

rebar.config setting is, for example, {escript_wrappers_windows, ["cmd", "powershell"]} which will write BOTH .cmd and .ps1.

Can be set to both, one, the other, or none at all.

Updated rebar.config to create both.

Updated workflow to make use of ps1 version.

src/rebar_prv_escriptize.erl Outdated Show resolved Hide resolved
@ferd ferd changed the title Add powershell scripts bootstrap and escriptize Add powershell script generation option for escriptize on windows; use for rebar3 itself May 23, 2020
@ferd ferd merged commit 35423c8 into erlang:master May 23, 2020
@reganheath reganheath deleted the add-powershell-scripts branch May 24, 2020 01:00
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