-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
Description
How do I run a single javascript file? with browserify it's really easy to take a lot of javascript and run it on any javascript platform, however nucleus seems to insist on running directories that is constraining as often I just want to run, say, a test script.
I did get this to work, https://github.com/dominictarr/nucleus-run
and I understand that it is ment to be possible to create a new nucleus command by just appending a zip of the code? I tried this but was not able to find any documentation.
zip n ../nucleus-run/
cat ./target/debug/nucleus n.zip > nr
but that didn't seem to work.
bundling the zip file is a pretty great idea, but a single js file is still the lowest common denomenator of javascript, so it seems reasonable that works out of the box.