Skip to content

Fix windows bash; Add linux shell - #13

Open
malublu wants to merge 1 commit into
HaxeFoundation:masterfrom
malublu:master
Open

malublu wants to merge 1 commit into
HaxeFoundation:masterfrom
malublu:master

Conversation

@malublu

@malublu malublu commented Sep 16, 2016

Copy link
Copy Markdown

No description provided.

Add linux shell script
Comment thread release.sh
@@ -0,0 +1,21 @@
#!/bin/bash

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Can you change it to #!/bin/sh

Some systems do not have bash installed, and the only bash-specific thing is -n1 key parameter to read

Comment thread release.sh
#7z a -tzip release.zip release
#rm -rf release
#haxelib submit release.zip
read -rsp $'Press any key to continue...\n' -n1 key No newline at end of file

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Is this really needed? We can remove this line I think

@saper saper left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Let's avoid bash-specific code if we can

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