slushjs / slush

The streaming scaffolding system - Gulp as a replacement for Yeoman
http://slushjs.github.io/generators
MIT License
1.24k stars 58 forks source link

Use slushfile in folder when executing slush in the folder of a new generator #43

Open peterjuras opened 8 years ago

peterjuras commented 8 years ago

Hi!

I wanted to ask if there is a quick way to execute a slushfile that lies within a folder of a new generator. A command like "slush ." would be useful to quickly test the output of a new generator.

about-code commented 7 years ago

Slush does not contain anything "out of the box", except the ability to locate installed slush generators and to run them with liftoff

I admit, this answer is quite a bit late given the date of the question. But maybe it helps somebody...

You don't need slush's ability to locate a generator in the given case and running things with Liftoff is what gulp does anyways. So given, that you've installed gulp-cli, running gulp --gulpfile ./slushfile.js should be a viable workaround.