Get fonts from Font-Awesome-Sass font copied to grunt compass output directory

I successfully installed ruby-gem "font-awesome-sass" and enabled it through the "require" -property inside the compass gunt-config and through the "import" -ru in my scss. This way the font-awesome scss compiles into my output-css file, this still works.

Now my problem is: how to get font files (.woff, .otf, ..) from ruby-gem to my grunt output directory. Files are already mentioned inside the css output, as indicated in the "../css/fonts/" directory, but they are not automatically copied.

Did I miss something?

+4
source share
1

, - grunt-contrib-copy

$ npm install grunt-contrib-copy

Gruntfile.js :

copy: {
  fonts: {
    src: 'path/to/font-awesome/files/*',
    dest: 'app/assets/fonts/font-awesome',
  },
},

; grunt, , , NPM , . , , . , .

0

All Articles