Skip to content

Commit

Permalink
Merge pull request #743 from varya/fix/missing-dist
Browse files Browse the repository at this point in the history
Missing files in dist. Fix #734
  • Loading branch information
varya committed Aug 11, 2015
2 parents d85d861 + 09dd3e5 commit 2289873
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@ var gulp = require('gulp'),
plumber = require('gulp-plumber'),
bower = require('gulp-bower'),
mainBowerFiles = require('main-bower-files'),
neat = require('node-neat'),
ngAnnotate = require('gulp-ng-annotate'),
replace = require('gulp-replace'),
runSequence = require('run-sequence'),
sass = require('gulp-sass'),
toc = require('gulp-doctoc'),
styleguide = require('./lib/styleguide'),
distPath = 'lib/dist',
Expand Down Expand Up @@ -39,7 +41,16 @@ gulp.task('bower', function() {
return bower();
});

gulp.task('sass', function() {
gulp.task('sass', ['copy-sass'], function() {
return gulp.src('lib/app/sass/**/*')
.pipe(sass({
includePaths: neat.includePaths
}))
.pipe(gulp.dest(distPath + '/css'));
});

gulp.task('copy-sass', function() {
// This task in needed for tests passing
return gulp.src('lib/app/sass/**/*')
.pipe(gulp.dest(distPath + '/sass'));
});
Expand Down

0 comments on commit 2289873

Please sign in to comment.