Browse Source

Merge pull request #220 from ZDroid/patch-1

Fix indents
pull/224/head
Connor Sears 11 years ago
parent
commit
eac4e86389
  1. 52
      Gruntfile.js

52
Gruntfile.js

@ -6,19 +6,19 @@ module.exports = function(grunt) {
// Metadata.
meta: {
srcPath: 'lib/',
distPath: 'dist/'
srcPath: 'lib/',
distPath: 'dist/'
},
banner: '/*\n' +
'* =====================================================\n' +
'* Ratchet v<%= pkg.version %>\n' +
'* Copyright <%= grunt.template.today("yyyy") %> <%= pkg.author %>\n' +
'* Licensed under <%= _.pluck(pkg.licenses, "url").join(", ") %>\n' +
'*\n' +
'* Designed and built by @connors, @dhg, and @fat.\n' +
'* =====================================================\n' +
'*/\n',
' * =====================================================\n' +
' * Ratchet v<%= pkg.version %>\n' +
' * Copyright <%= grunt.template.today("yyyy") %> <%= pkg.author %>\n' +
' * Licensed under <%= _.pluck(pkg.licenses, "url").join(", ") %>\n' +
' *\n' +
' * Designed and built by @connors, @dhg, and @fat.\n' +
' * =====================================================\n' +
' */\n',
concat: {
options: {
@ -38,25 +38,25 @@ module.exports = function(grunt) {
},
sass: {
options: {
banner: '<%= banner %>',
style: 'expanded',
},
dist: {
files: {
'<%= meta.distPath %><%= pkg.name %>.css': '<%= meta.srcPath %>sass/ratchet.scss',
'<%= meta.distPath %>theme-classic.css': '<%= meta.srcPath %>sass/theme-classic.scss'
}
options: {
banner: '<%= banner %>',
style: 'expanded',
},
dist: {
files: {
'<%= meta.distPath %><%= pkg.name %>.css': '<%= meta.srcPath %>sass/ratchet.scss',
'<%= meta.distPath %>theme-classic.css': '<%= meta.srcPath %>sass/theme-classic.scss'
}
}
},
watch: {
scripts: {
files: [
'<%= meta.srcPath %>/**/*.scss'
],
tasks: ['sass']
}
scripts: {
files: [
'<%= meta.srcPath %>/**/*.scss'
],
tasks: ['sass']
}
}
});
@ -69,4 +69,4 @@ module.exports = function(grunt) {
// Default task(s).
grunt.registerTask('default', ['sass', 'concat']);
grunt.registerTask('build', ['sass', 'concat']);
};
};

Loading…
Cancel
Save