You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Windows when the command gleam export erlang-shipment is used a PowerShell script is generated as /build/erlang-shipment/entrypoint.ps1. It would be interesting to be able to choose the type of script, for example if you develop on Windows and deploy to Linux.
I propose to add a parameter to set the script type:
lpil
changed the title
Add a way to choose the type of entrypoint file with gleam export erlang-shipment
Include both shell and ps1 entrypoint scripts with gleam export erlang-shipmentMar 16, 2025
On Windows when the command
gleam export erlang-shipment
is used a PowerShell script is generated as/build/erlang-shipment/entrypoint.ps1
. It would be interesting to be able to choose the type of script, for example if you develop on Windows and deploy to Linux.I propose to add a parameter to set the script type:
where
<SCRIPT_LANG>
can be "powershell" or "bash".The default behavior (without the parameter) wouldn't be modified.
I can make the changes myself and propose a PR.
The text was updated successfully, but these errors were encountered: