-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Philip Arthur Moore
committed
Feb 15, 2015
0 parents
commit 4206c08
Showing
11 changed files
with
621 additions
and
0 deletions.
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
.gitattributes export-ignore | ||
.gitignore export-ignore | ||
package.json export-ignore | ||
Gruntfile.js export-ignore | ||
node_modules export-ignore |
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,2 @@ | ||
node_modules | ||
.DS_Store |
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,63 @@ | ||
/** | ||
* Plugin: Creative Portfolio Custom Colors | ||
* | ||
* @see http://gruntjs.com/sample-gruntfile | ||
*/ | ||
module.exports = function(grunt) { | ||
/** | ||
* Output elapsed time for grunt tasks. | ||
* @see https://www.npmjs.com/package/time-grunt | ||
*/ | ||
require( 'time-grunt' )(grunt); | ||
|
||
/** | ||
* Load tasks. | ||
* @see https://www.npmjs.com/package/matchdep | ||
*/ | ||
require( 'matchdep' ).filterDev(['grunt-*']).forEach( grunt.loadNpmTasks ); | ||
|
||
// config | ||
grunt.initConfig( { | ||
// read in project settings | ||
pkg: grunt.file.readJSON( 'package.json' ), | ||
|
||
/** | ||
* Theme and Plugin internationalization | ||
* @see https://github.com/blazersix/grunt-wp-i18n/ | ||
*/ | ||
makepot: { | ||
target: { | ||
options: { | ||
cwd: '<%= pkg.name %>', | ||
domainPath: '/languages', | ||
i18nToolsPath: '/Applications/XAMPP/xamppfiles/htdocs/develop/tools/i18n', | ||
potFilename: '<%= pkg.name %>-en_US.pot', | ||
type: 'wp-plugin' | ||
} | ||
} | ||
}, | ||
|
||
/** | ||
* Theme Release via git-archive | ||
* @see https://www.npmjs.com/package/git-archive | ||
*/ | ||
'git-archive': { | ||
archive: { | ||
options: { | ||
'output': 'releases/<%= pkg.name %>-<%= pkg.version %>.zip', | ||
'tree-ish': 'master', | ||
'worktree-attributes': true, | ||
'extra': 9, | ||
'path': '<%= pkg.name %>' | ||
} | ||
} | ||
} | ||
} ); | ||
|
||
// register tasks | ||
grunt.registerTask( 'dev', [] ); // default development tasks | ||
grunt.registerTask( 'build', ['makepot'] ); // default build tasks | ||
grunt.registerTask( 'release', ['git-archive'] ); // tasks to run when we're ready for a new release | ||
// default task | ||
grunt.registerTask( 'default', ['build'] ); | ||
}; |
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,2 @@ | ||
# creative-portfolio-custom-colors | ||
Creative Portfolio Custom Colors WordPress Plugin |
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,5 @@ | ||
# Creative Portfolio Custom Colors | ||
|
||
This plugin adds custom colors functionality into the Creative Portfolio WordPress Theme. See the Creative Market [1] product page for more information. | ||
|
||
[1] https://creativemarket.com/professionalthemes/185375-Creative-Portfolio-WordPress-Theme |
Oops, something went wrong.