Skip to content

Commit

Permalink
Set up Grunt.
Browse files Browse the repository at this point in the history
Very basic, all it does at the moment is compile our `.scss` files into
`.css` and `.min.css`
  • Loading branch information
georgestephanis committed Mar 7, 2014
1 parent 3c2639b commit dd7f835
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
@@ -1,2 +1,3 @@
/vendor/
/.sass-cache/
/.sass-cache/
/node_modules
17 changes: 17 additions & 0 deletions Gruntfile.js
@@ -0,0 +1,17 @@

module.exports = function(grunt) {

grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
shell: {
buildSass: {
command: 'php tools/pre-commit-build-scss.php'
}
}
});

grunt.loadNpmTasks('grunt-shell');

grunt.registerTask('default', ['shell']);

};
19 changes: 19 additions & 0 deletions package.json
@@ -0,0 +1,19 @@
{
"name": "Jetpack",
"version": "3.0.0-alpha",
"description": "[Jetpack](http://jetpack.me/) is a WordPress plugin that supercharges your self-hosted WordPress site with the awesome cloud power of [WordPress.com](http://wordpress.com).",
"homepage": "http://jetpack.me",
"author": "Automattic",
"license": "GPLv2+",
"repository": {
"type": "git",
"url": "https://github.com/Automattic/jetpack.git"
},
"bugs": {
"url": "https://github.com/Automattic/jetpack/issues"
},
"devDependencies": {
"grunt": "^0.4.2",
"grunt-shell": "^0.6.4"
}
}

0 comments on commit dd7f835

Please sign in to comment.