Skip to content

Commit

Permalink
Merge pull request #335 from chosak/icon-fix-please-really-fix
Browse files Browse the repository at this point in the history
Include cf-icons SVGs as static assets in build
  • Loading branch information
chosak committed Sep 19, 2018
2 parents 7c27d2b + 495eb57 commit 06b2cc8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
9 changes: 8 additions & 1 deletion gulp/tasks/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,16 @@ gulp.task( 'styles:icon-fonts', function() {
.pipe( gulp.dest( static + 'fonts/' ) );
} );

gulp.task( 'styles:icons', function() {
let static = 'paying_for_college/static/paying_for_college/disclosures/static/';
return gulp.src( './node_modules/cf-icons/src/icons/*' )
.pipe( gulp.dest( static + 'icons/' ) );
} );


gulp.task( 'styles', gulp.parallel(
'styles:modern',
'styles:ie',
'styles:icon-fonts'
'styles:icon-fonts',
'styles:icons'
) );
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ def read_file(filename):
'static/paying_for_college/disclosures/static/fonts/*.svg',
'static/paying_for_college/disclosures/static/fonts/*.woff',
'static/paying_for_college/disclosures/static/fonts/*.ttf',
'static/paying_for_college/disclosures/static/icons/*.svg',
'static/paying_for_college/disclosures/static/js/*.htc',
'static/paying_for_college/disclosures/static/js/*.js',
'static/paying_for_college/disclosures/static/js/*.map',
Expand Down

0 comments on commit 06b2cc8

Please sign in to comment.