Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

changed layout

  • Loading branch information...
commit bb5ae26ca56d9b4efde0606a3ec7c920f3fb344b 1 parent 19c4814
@pj4533 authored
Showing with 13 additions and 5 deletions.
  1. +5 −0 bin/lightman
  2. +4 −4 { → lib}/lightman.js
  3. +4 −1 package.json
View
5 bin/lightman
@@ -0,0 +1,5 @@
+#!/usr/bin/env node
+var path = require('path');
+var fs = require('fs');
+var lib = path.join(path.dirname(fs.realpathSync(__filename)), '../lib');
+require(lib + '/lightman.js');
View
8 lightman.js → lib/lightman.js
@@ -11,10 +11,10 @@ program.version('0.0.1')
.option('-bi, --bundleid [bundle id]', 'Use bundle id')
.parse(process.argv);
-var world = require('./lib/world').World;
-var certificates = require('./lib/certificates');
-var authentication = require('./lib/authentication');
-var appids = require('./lib/appids');
+var world = require('./world').World;
+var certificates = require('./certificates');
+var authentication = require('./authentication');
+var appids = require('./appids');
world(function(world) {
View
5 package.json
@@ -6,8 +6,11 @@
"homepage": "",
"repository": {
"type": "git",
- "url": ""
+ "url": "https://github.com/pj4533/lightman"
},
+ "bin": {
+ "lightman": "./bin/lightman"
+ },
"engines": {
"node": "0.8.14",
"npm": "1.1.65"
Please sign in to comment.
Something went wrong with that request. Please try again.