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

PHP CLI Batsh compiler #80

Open
shannah opened this issue Feb 4, 2021 · 0 comments
Open

PHP CLI Batsh compiler #80

shannah opened this issue Feb 4, 2021 · 0 comments

Comments

@shannah
Copy link

shannah commented Feb 4, 2021

I was unable to get batsh working on my machine, so I wrote a PHP CLI script to wrap the batsh compiler that you use for the sandbox at https://batsh.org

https://gist.github.com/shannah/cb89c4fcf0ddd52fe4ae91a547bbd5fa

Usage:

php batsh.php myscript.batsh

This will create a directory named "build" in the current directory, with myscript.sh and myscript.bat

Just posting it here in case someone finds it useful, or if you want to include this somewhere in the batsh repo.

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

No branches or pull requests

1 participant