nucleus-js / rustyduk

An implementation of nucleus-js using duktape and libuv implemented in rust
Other
25 stars 1 forks source link

Add -l, --linked #6

Open Fishrock123 opened 8 years ago

Fishrock123 commented 8 years ago

The relevant code can be found at https://github.com/nucleus-js/rustyduk/blob/3797dd1470a9e1f6e7345e7f1257240528cf8a97/src/bundler.rs#L35-L53

The zip_only bool will need to change to use a struct passed from the options parsing and example of what it needs to prepend to the zip bundle can be found in the c impl: https://github.com/nucleus-js/seaduk/blob/master/src/main.c#L390-L395