bradcypert / ignite

A fiery JSON-based scaffolding tool for Node.js
https://www.npmjs.com/package/bc-ignite
17 stars 3 forks source link

Merge Github API Branch in es6 #19

Closed wookiecooking closed 9 years ago

wookiecooking commented 9 years ago

This merge would introduce github retrieval of schemas, descriptions, and listings in the repo bc-ignite/templates.

bradcypert commented 9 years ago

Checked out via git and tried to run, getting a few error messages

/Users/brad/Projects/ignite/lib/ignite.js:35
if (!args._[1]) logError(3, "Missing arguments");else describe(args._[1],
                                                      ^
ReferenceError: describe is not defined
    at Object.<anonymous> (/Users/brad/Projects/ignite/lib/ignite.js:28:10)
    at Module._compile (module.js:456:26)
    at normalLoader (/usr/local/lib/node_modules/babel/lib/babel/api/register/node.js:119:5)
    at Object.require.extensions.(anonymous function) [as .js] (/usr/local/lib/node_modules/babel/lib/babel/api/register/node.js:132:7)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Function.Module.runMain (module.js:497:10)
    at Object.<anonymous> (/usr/local/lib/node_modules/babel/bin/_babel-node:108:12)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
wookiecooking commented 9 years ago

Try this latest commit, I wasn't able to reproduce, but describe() is there, so I reordered the gulp compile in order.

I've been running a oneliner to test:

~/projects/ignite es6-api λ gulp && sudo npm link && ignite describe express --remote
[10:08:11] Using gulpfile ~/projects/ignite/gulpfile.js
[10:08:11] Starting 'default'...
[10:08:11] Finished 'default' after 417 ms
/usr/local/bin/ignite -> /usr/local/lib/node_modules/bc-ignite/dist/ignite.js
/usr/local/lib/node_modules/bc-ignite -> ~/projects/ignite
Standardized Express Template : A folder structure for use with Jade & Express.js
bradcypert commented 9 years ago

If you're through with this branch, please delete :)