Commit 6c260d7f authored by Stanislav Fifik's avatar Stanislav Fifik

Merge branch 'master' of git.designeo.cz:designeo/designeo-gulp

parents 5d7e3c98 2673e680
# Designeo gulp
pridat do package.json devDependencies:
```"designeo-gulp": "git+ssh://git@git.designeo.cz:designeo/designeo-gulp.git#master",```
a `npm install`
## Symfony
prepsat gulpfile.js na:
```js
var desGulp = require('designeo-gulp');
desGulp.init(__dirname);
desGulp.symfony();
```
## Custom
```js
var desGulp = require('designeo-gulp');
desGulp.init(__dirname);
// set task_name, path to entrypoint and destination folder
desGulp.js('task_name', ['./path/to/entrypoint.js'], './destination/js/');
desGulp.css('task_name', ['./path/to/entrypoint.css'], './destination/css/');
// Move build from task dependencies (second param) and run it inside after setting 'watch'
gulp.task('default', [], function() {
desGulp.argv.watch = true;
gulp.run('build');
...
});
```
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment