run 336 B

123456789101112131415161718192021
  1. #!/usr/bin/env node
  2. // jpm run
  3. !function () {
  4. 'use strict';
  5. var run = require('jpm/lib/run');
  6. var dir = process.cwd();
  7. var packageJSON = require('../src/package.json');
  8. var options = {};
  9. if (process.argv[2]) {
  10. options.binary = process.argv[2];
  11. }
  12. run(packageJSON, options);
  13. }();
  14. // vim: set ts=4 noet ai ft=javascript