Browse Source

Fix indents

pull/220/head
Zlatan Vasović 11 years ago
parent
commit
9663586e48
  1. 52
      Gruntfile.js

52
Gruntfile.js

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

Loading…
Cancel
Save