Skip to content

Commit

Permalink
Small commit to add error handling on the gulpfile
Browse files Browse the repository at this point in the history
  • Loading branch information
ramono committed May 17, 2016
1 parent c7de392 commit e734189
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 9 deletions.
2 changes: 2 additions & 0 deletions Gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ gulp.task('style', function () {
'use strict';
gulp.src(config.scssDir + '/*.scss')
.pipe(sass())
.on('error', sass.logError)
.pipe(autoprefixer({browsers: ['last 2 versions', 'ie >= 9']}))
.pipe(cssnano())
.pipe(gulp.dest(config.cssDir));
Expand All @@ -29,6 +30,7 @@ gulp.task('style-dev', function () {
gulp.src(config.scssDir + '/*.scss')
.pipe(sourcemaps.init())
.pipe(sass({outputStyle: "expanded"}))
.on('error', sass.logError)
.pipe(autoprefixer({browsers: ['last 2 versions', 'ie >= 9']}))
.pipe(sourcemaps.write('maps'))
.pipe(gulp.dest(config.cssDir));
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hoisin.scss",
"version": "0.9.14",
"version": "0.9.15",
"description": "A simple responsive mini framework to kick start your project.",
"main": ["scss/styles.scss", "scss/responsive.scss"],
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion css/ie.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion css/maps/ie.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion css/maps/sample.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/maps/style.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/sample.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion css/style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "hoisin.scss",
"title": "Hoisin.scss",
"description": "A simple responsive mini framework to kick start your project.",
"version": "0.9.14",
"version": "0.9.15",
"homepage": "https://github.com/Cyber-Duck/hoisin.scss",
"license": "ISC",
"author": {
Expand Down
2 changes: 1 addition & 1 deletion scss/_version.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Hoisin.scss
* CSS responsive framework boilerplate
* Create your own grids, plugin anything
* Version: 0.9.14
* Version: 0.9.15
* Created by: Cyber-Duck Ltd <[email protected]>,
* Ramon Lapenta <[email protected]>
*
Expand Down

0 comments on commit e734189

Please sign in to comment.