-
Notifications
You must be signed in to change notification settings - Fork 88
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
Turn bin/build into a command line tool #269
Comments
Hey @dethe, I was just writing a Makefile here at work, and though that would really be the way to do this. I'm not sure if that would limit any of our windows friends, but I'll throw one together for kicks. |
Hi @TechplexEngineer, did you ever make progress with your Makefile? |
I never got the Makefile working. |
It would be nice to make bin/build be a |
That page seems to be assuming server-side javascript. Maybe it could still work on client-side, I dunno. |
@CelticMinstrel We're talking about server-side (well, command-line) tools for building, linting, validating, and minifying files. Not expected to work client-side. |
I didn't think Waterbear had any server-side stuff... |
When you run bin/build it runs locally on your machine. That's what this is about. Not server-side so much as command-line. We're also implementing server-side code for Persona logins and for using Node to talk to other systems (like Minecraft), but that's a different issue. |
Options for parsing the command-line: https://github.com/chevex/yargs |
Yargs looks quite nice. |
README for updates to bin/build and file layout Goals:
Steps to get there:
|
Not sure about "Not having a stage also implies not having _runtime.js files" I was thinking about using the runtime files for waterbear specific wrappers for libraries but haven't needed one just yet. |
Good point, maybe better to keep stage and runtime explicit and not have one magically include the other. |
Up until now, all runtime files were Javascript, but @nosman raised an interesting issue because he wants to include Scheme runtime files for his scheme-in-browser blocks. We should add support for non-JS runtime files. |
I've got most of the remaining work in separate issues. If I've missed anything, feel free to create another issue. Going to close this umbrella issue and track the rest under their own, smaller issues. |
rather than having a number of different tools to satisfy all the build requirements, bin/build should have flags added to satisfy the different needs.
Here is a list of functions:
The text was updated successfully, but these errors were encountered: