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

Serve images from fec-style. #485

Merged
merged 1 commit into from
Aug 18, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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