stand-alone executables

1. download file

2. do stuff

le' demo

# backup slow wifi plan!
lone;
# make stand-alone and publish GitHub release
npm install --save-dev lone
`npm bin`/lone --release --mail=where@jed.is
// To allow people to extend Node in different ways, this
// hook allows one to drop a file lib/_third_party_main.js
// into the build directory which will be executed instead
// of Node's normal loading.
NativeModule.require('_third_party_main');

bakin' binaries

  1. fetch node source
  2. add _third_party_main.js to node.gyp and build
  3. jam everything into a zip file && cat node binary

runnin' it

  1. read yourself until you see ZIP_MAGIC (the bundle)
  2. extract to a temp directory and run from there
  3. * lol im just a self extracting zip

@todo

tests more tests
windows
gulp-ify
pipeline - toolchain

thanks

<3@lsdcats

 
⇧⌘F