linemanjs / lineman

Lineman helps you build fat-client JavaScript apps. It produces happiness by building assets, mocking servers, running specs on every file change
MIT License
1.18k stars 80 forks source link

lineman install #218

Open jasonkarns opened 10 years ago

jasonkarns commented 10 years ago

Idea: lineman install which would accept plugin names to install.

$ lineman install angular

which would be equivalent to:

$ npm install --save-dev lineman-angular

This would become even more powerful when coupled with #217. After running npm install ... it would automatically execute npm run-script <plugin> configure.

Thus, the workflow for a brand new lineman project could be:

lineman new myAngularApp && cd myAngularApp
lineman install angular

Which would create the lineman project, install the lineman-angular plugin (and save to package.json), and run the lineman-angular configure script which creates the conventional angular project directory/file structure.

searls commented 10 years ago

Yup. Sounds good. It'll end up being a trivial wrapper around npm install but I'd support the effort if it also included plugin discovery to help people see what plugins were available.

On Sun, Feb 23, 2014 at 2:20 PM, Jason Karns notifications@github.com wrote:

Idea: lineman install which would accept plugin names to install.

$ lineman install angular

which would be equivalent to:

$ npm install --save-dev lineman-angular

This would become even more powerful when coupled with #217. After running npm install ... it would automatically execute npm run-script <plugin> configure. Thus, the workflow for a brand new lineman project could be:

lineman new myAngularApp && cd myAngularApp
lineman install angular

Which would create the lineman project, install the lineman-angular plugin (and save to package.json), and run the lineman-angular configure script which creates the conventional angular project directory/file structure.

Reply to this email directly or view it on GitHub: https://github.com/linemanjs/lineman/issues/218

Foxandxss commented 10 years ago

I like it, like phonegap, adding pieces when needed :)