From c50c6e9566a3513c2396459099ba66ec9538cdde Mon Sep 17 00:00:00 2001 From: Ben Ramey Date: Mon, 14 Apr 2014 11:15:11 -0500 Subject: [PATCH] Prod fonts copy grunt job --- Gruntfile.js | 1 + tasks/options/copy.js | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/Gruntfile.js b/Gruntfile.js index ec9fe05..014f7bc 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -98,6 +98,7 @@ module.exports = function(grunt) { 'concat', 'uglify', 'cssmin', + 'copy:fonts', 'sails-linker:prodJs', 'sails-linker:prodStyles', 'sails-linker:devTpl', diff --git a/tasks/options/copy.js b/tasks/options/copy.js index 4219ec7..569d2ba 100644 --- a/tasks/options/copy.js +++ b/tasks/options/copy.js @@ -9,6 +9,14 @@ module.exports = function(config) { dest: '.tmp/public' }] }, + fonts: { + files: [{ + expand: true, + cwd: './assets/linker', + src: ['fonts/*'], + dest: '.tmp/public' + }] + }, build: { files: [{ expand: true,