Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Philip Arthur Moore committed Feb 15, 2015
0 parents commit 4206c08
Show file tree
Hide file tree
Showing 11 changed files with 621 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .gitattributes
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
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
.DS_Store
63 changes: 63 additions & 0 deletions Gruntfile.js
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'] );
};
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# creative-portfolio-custom-colors
Creative Portfolio Custom Colors WordPress Plugin
5 changes: 5 additions & 0 deletions creative-portfolio-custom-colors/README.md
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
Loading

0 comments on commit 4206c08

Please sign in to comment.