What is pinion?
- Opinionated - modeled to mimic the rails asset pipeline, tasks are default to just work
- Fast - designed for speed
- Customisable - the
pinionfileallows tweaking of the pipeline to match your workspace
pinion was born to replace the Rails asset pipeline, in a Rails workspace. Benefits over the Rails asset pipeline include:
- modernness (support for CommonJS)
- less "magic" (everything is a gulp task)
npm install pinion-pipeline will install the package locally
npm install -g pinion-pipeline will provide a
pinion CLI for you to use. Or, you can just
$(npm bin)/pinion in your local workspace.
pinion's CLI is designed to mimic gulp.
pinionis equivalent to
pinion xruns the task
pinion x y zruns the tasks
y, and then
Not much is required to get going with simple tasks
But we can be more verbose for greater control