Build mobile apps with simple HTML, CSS, and JS components. http://goratchet.com/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

57 lines
1.6 KiB

module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
// Metadata.
meta: {
srcPath: 'lib/sass/',
distPath: 'dist/'
},
banner: '/*!\n' +
'* Ratchet v<%= pkg.version %> by @connors, @dhg, and @fat\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',
11 years ago
sass: {
options: {
banner: '/**\n' +
'* ==================================\n' +
'* Ratchet v2.0.0\n' +
'* Licensed under The MIT License\n' +
'* http://opensource.org/licenses/MIT\n' +
'* ==================================\n' +
'*/\n',
},
dist: {
files: {
'<%= meta.distPath %>ratchet.css': '<%= meta.srcPath %>ratchet.scss'
}
}
},
watch: {
scripts: {
files: [
'<%= meta.srcPath %>/**/*.scss'
],
tasks: ['sass']
}
11 years ago
}
});
// Load the plugin that provides the "uglify" task.
//grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-contrib-sass');
grunt.loadNpmTasks('grunt-contrib-watch');
11 years ago
// Default task(s).
//grunt.registerTask('default', ['uglify']);
grunt.registerTask('default', ['sass']);
11 years ago
};