Browse Source

Gruntfile.js: use the variables for paths.

pull/373/head
XhmikosR 11 years ago
parent
commit
1a0841167b
  1. 14
      Gruntfile.js

14
Gruntfile.js

@ -86,15 +86,15 @@ module.exports = function(grunt) {
report: 'min' report: 'min'
}, },
ratchet: { ratchet: {
src: 'dist/<%= pkg.name %>.css', src: '<%= meta.distPath %><%= pkg.name %>.css',
dest: 'dist/<%= pkg.name %>.min.css' dest: '<%= meta.distPath %><%= pkg.name %>.min.css'
}, },
docs: { docs: {
src: [ src: [
'docs/assets/css/docs.css', '<%= meta.docsAssetsPath %>css/docs.css',
'docs/assets/css/pygments-manni.css' '<%= meta.docsAssetsPath %>css/pygments-manni.css'
], ],
dest: 'docs/assets/css/docs.min.css' dest: '<%= meta.docsAssetsPath %>css/docs.min.css'
} }
}, },
@ -104,8 +104,8 @@ module.exports = function(grunt) {
report: 'min' report: 'min'
}, },
ratchet: { ratchet: {
src: 'dist/<%= pkg.name %>.js', src: '<%= meta.distPath %><%= pkg.name %>.js',
dest: 'dist/<%= pkg.name %>.min.js' dest: '<%= meta.distPath %><%= pkg.name %>.min.js'
} }
}, },

Loading…
Cancel
Save