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

Commit

Permalink
Merge pull request #485 from jmcarp/feature/serve-shared-images
Browse files Browse the repository at this point in the history
Serve images from fec-style.
  • Loading branch information
Marco Segreto committed Aug 18, 2015
2 parents b04a8e2 + 12d8960 commit 8731e3c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@ node_modules
.sass-cache/
rev-manifest.json
openfecwebapp/local_config.py
static/images
app/
/.env
.DS_Store

dist
static/styles/styles.css
6 changes: 3 additions & 3 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ gulp.task('copy-vendor-images', function() {

gulp.task('copy-fonts', function() {
return gulp.src('./static/fonts/**/*')
.pipe(gulp.dest('./dist/fonts'));
.pipe(gulp.dest('./dist/fonts'));
});

gulp.task('copy-images', function() {
return gulp.src('./static/img/**/*')
.pipe(gulp.dest('./dist/img'));
return gulp.src(['./static/img/**/*', './node_modules/fec-style/img/**/*'])
.pipe(gulp.dest('./dist/img'));
});

gulp.task('build-sass', ['copy-vendor-images', 'copy-fonts', 'copy-images'], function() {
Expand Down

0 comments on commit 8731e3c

Please sign in to comment.