Skip to content

Commit

Permalink
Close GH-351: Fix location for Bootstrap fonts with Sass and CSS.
Browse files Browse the repository at this point in the history
  • Loading branch information
oxnard805 authored and sindresorhus committed Apr 30, 2014
1 parent e1896ee commit 4c5a002
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions app/templates/Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -360,11 +360,11 @@ module.exports = function (grunt) {
}<% if (includeBootstrap) { %>, {
expand: true,
dot: true,<% if (includeSass) { %>
cwd: '.',
src: ['bower_components/bootstrap-sass-official/vendor/assets/fonts/bootstrap/*.*'],<% } else { %>
cwd: 'bower_components/bootstrap/dist',
src: ['fonts/*.*'],<% } %>
dest: '<%%= config.dist %>'
cwd: 'bower_components/bootstrap-sass-official/vendor/assets/fonts/bootstrap/',
src: ['*.*'],<% } else { %>
cwd: 'bower_components/bootstrap/dist/fonts/',
src: ['*.*'],<% } %>
dest: '<%%= config.dist %>/styles/fonts'
}<% } %>]
},
styles: {
Expand Down
2 changes: 1 addition & 1 deletion app/templates/main.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<% if (includeBootstrap) { %>$icon-font-path: "../../bower_components/bootstrap-sass-official/vendor/assets/fonts/bootstrap/";
<% if (includeBootstrap) { %>$icon-font-path: "../styles/fonts/";

// bower:scss
@import '../../bower_components/bootstrap-sass-official/vendor/assets/stylesheets/bootstrap.scss';
Expand Down

0 comments on commit 4c5a002

Please sign in to comment.