Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Very basic, all it does at the moment is compile our `.scss` files into `.css` and `.min.css`
- Loading branch information
1 parent
3c2639b
commit dd7f835
Showing
3 changed files
with
38 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
/vendor/ | ||
/.sass-cache/ | ||
/.sass-cache/ | ||
/node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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']); | ||
|
||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
} | ||
} |