From Grunt to Gulp
This commit is contained in:
parent
d75c980e7a
commit
70fb6f0863
@ -5,22 +5,22 @@ First you have to install the following dependencies:
|
|||||||
- `node` [Node.js](http://nodejs.org) v0.10 or later
|
- `node` [Node.js](http://nodejs.org) v0.10 or later
|
||||||
- `npm` [Node Packaged Modules](https://www.npmjs.org)
|
- `npm` [Node Packaged Modules](https://www.npmjs.org)
|
||||||
- `bower` [Bower](http://bower.io)
|
- `bower` [Bower](http://bower.io)
|
||||||
- `grunt` [Grunt](http://gruntjs.com)
|
- `gulp` [Gulp.js](http://gulpjs.com)
|
||||||
|
|
||||||
After [installing Node.js](http://nodejs.org) you can use the included `npm` package manager to install the global requirements and Lychee-dependencies with the following command:
|
After [installing Node.js](http://nodejs.org) you can use the included `npm` package manager to install the global requirements and Lychee-dependencies with the following command:
|
||||||
|
|
||||||
npm install -g bower grunt-cli;
|
cd build/;
|
||||||
|
npm install -g bower gulp;
|
||||||
npm install && bower install;
|
npm install && bower install;
|
||||||
|
|
||||||
|
|
||||||
### Build
|
### Build
|
||||||
|
|
||||||
The Gruntfile is located in `build/` and can be easily executed using the `grunt` command.
|
The Gruntfile is located in `build/` and can be easily executed using the `gulp` command.
|
||||||
|
|
||||||
### Watch for changes
|
### Watch for changes
|
||||||
|
|
||||||
While developing, you might want to use the following command to watch for changes in `assets/js/` and `assets/css/`:
|
While developing, you might want to use the following command to watch for changes in `assets/js/` and `assets/css/`:
|
||||||
|
|
||||||
grunt watch
|
gulp watch
|
||||||
|
|
||||||
`grunt` will automatically build Lychee, everytime you save a file.
|
`gulp` will automatically build Lychee everytime you save a file.
|
Loading…
Reference in New Issue
Block a user