This file contains hidden or 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
module.exports = function(grunt) { | |
// Project configuration. | |
grunt.initConfig({ | |
compass: { | |
dist: { | |
options: { | |
sassDir: 'sass', | |
cssDir: 'css', | |
environment: 'production' | |
} |
This file contains hidden or 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
#For wordpress theme dev. | |
#Ignore everything except for the gitignore file and the themes directories: | |
* | |
!.gitignore | |
!wp-content/ | |
!wp-content/themes/ | |
!wp-content/themes/*/ | |
!wp-content/themes/*/* | |
!wp-content/themes/*/*/* | |
!wp-content/themes/*/*/*/* |
This file contains hidden or 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
#Pre-commit hook | |
#!/bin/sh | |
mysqldump -uuser -ppassword --skip-extended-insert databaseName > /path/to/your/repo/database.sql | |
cd /path/to/your/repo | |
git add [database].sql | |
#Post-merge hook | |
#!/bin/sh | |
mysql -u [mysql user] -p[mysql password] [database] < /path/to/your/repo/[database].sql | |
NewerOlder