https://github.com/iansinnott/gulpfile-generator
A simple script to generate a gulpfile for compiling Sass stylesheets.
https://github.com/iansinnott/gulpfile-generator
Last synced: about 2 months ago
JSON representation
A simple script to generate a gulpfile for compiling Sass stylesheets.
- Host: GitHub
- URL: https://github.com/iansinnott/gulpfile-generator
- Owner: iansinnott
- Created: 2014-02-10T12:49:01.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-02-10T12:53:14.000Z (over 12 years ago)
- Last Synced: 2025-01-25T05:41:56.979Z (over 1 year ago)
- Language: Ruby
- Size: 113 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Gulpfile Generator
#### A simple ruby script to generate a gulpfile for compiling Sass stylesheets.
Gulp.js can be used for many things. This script only sets up a base gulpfile.js and installs all the packages necessary for super fast Sass compilation through [node-sass.][nodesass] You should check out the [Gulp.js][gulpjs] Homepage for info on the project itself.
[nodesass]: https://github.com/andrew/node-sass
[gulpjs]: http://gulpjs.com/
## Install
1. Clone the repo: `git clone git@github.com:iansinnott/gulpfile-generator.git`
2. Link the file: `ln -sh path/to/gulpgen.rb /usr/local/bin/gulpgen`
After linking, you will probably have to restart your terminal window to access the `gulpgen` command in your path.
## Commands
There are only two
- `gulpgen`: Generates a gulpfile.js and installs the necessary node modules. Also creates package.json if not found.
- `gulpgen implode`: Remove the packages installed by this script as well as the generated gulpfile.js. package.json will not be removed in case you already had one installed.
## Uninstall
1. Remove the git repo from wherever you cloned it to.
2. In terminal: `rm /usr/local/bin/gulpgen`. If you linked the binary to somewhere else in your path, you should remove the link there instead.