Skip to content
This repository has been archived by the owner on Sep 23, 2020. It is now read-only.

Commit

Permalink
Updated gulp tasks and Readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremyFagis committed Mar 2, 2015
1 parent aa5a62b commit 7f18fe4
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 4 deletions.
40 changes: 39 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,42 @@ Doprify

Customize easily your basic HTML input files.

Demo : [jeremyfagis.github.io/dropify/](http://jeremyfagis.github.io/dropify/)
Demo : [jeremyfagis.github.io/dropify](http://jeremyfagis.github.io/dropify/)


## Dependencies

* [jQuery](https://github.com/jquery/jquery)


## Installation

Clone the project in your workspace

$ git clone git@github.com:JeremyFagis/dropify.git your-project
$ cd your-project

Download packages

$ (sudo) npm install

Compile assets

$ gulp


## Compilation

# compilation (watch & minification)
$ gulp

# Prod compilation (minification)
$ gulp install

# Dev compilation (watch & no-minification)
$ gulp dev


## NPM Package

Coming soon...
9 changes: 6 additions & 3 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,12 @@ gulp.task('scripts-prod', function() {



gulp.task('watch', ['sass-dev', 'scripts-dev', 'fonts'], function() {
gulp.task('default', ['sass-prod', 'scripts-prod', 'fonts'], function() {
gulp.watch(jsDir + '**/*.js', ['scripts-prod']);
gulp.watch(sassDir + '**/*.scss', ['sass-prod']);
});
gulp.task('dev', ['sass-dev', 'scripts-dev', 'fonts'], function() {
gulp.watch(jsDir + '**/*.js', ['scripts-dev']);
gulp.watch(sassDir + '**/*.scss', ['sass-dev']);
});
gulp.task('default', ['sass-prod', 'scripts-prod', 'fonts']);
gulp.task('prod', ['sass-prod', 'scripts-prod', 'fonts']);
gulp.task('install', ['sass-prod', 'scripts-prod', 'fonts']);

0 comments on commit 7f18fe4

Please sign in to comment.