Skip to content

run a single javascript file #11

@dominictarr

Description

@dominictarr

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions