-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from brainstormforce/version-1.0.1
Version 1.0.1
- Loading branch information
Showing
7 changed files
with
2,009 additions
and
10 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,21 @@ | ||
# ignore PHPStorm extra directories | ||
.idea/ | ||
|
||
# OS specific files | ||
.DS_Store | ||
|
||
# Leave node_modules from git | ||
node_modules/ | ||
|
||
# sass cache | ||
.sass-cache | ||
|
||
# ignore PHPCS report files | ||
phpcs-summary.log | ||
phpcs-full.log | ||
|
||
# Org Package | ||
*.zip | ||
|
||
# Ignore Composer's directories | ||
vendor/ |
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,53 @@ | ||
module.exports = function( grunt ) { | ||
|
||
'use strict'; | ||
var banner = '/**\n * <%= pkg.homepage %>\n * Copyright (c) <%= grunt.template.today("yyyy") %>\n * This file is generated automatically. Do not edit.\n */\n'; | ||
// Project configuration | ||
grunt.initConfig( { | ||
|
||
pkg: grunt.file.readJSON( 'package.json' ), | ||
|
||
addtextdomain: { | ||
options: { | ||
textdomain: 'contacts-in-mautic', | ||
}, | ||
target: { | ||
files: { | ||
src: [ '*.php', '**/*.php', '!node_modules/**', '!php-tests/**', '!bin/**' ] | ||
} | ||
} | ||
}, | ||
|
||
wp_readme_to_markdown: { | ||
your_target: { | ||
files: { | ||
'README.md': 'readme.txt' | ||
} | ||
}, | ||
}, | ||
|
||
makepot: { | ||
target: { | ||
options: { | ||
domainPath: '/languages', | ||
mainFile: 'contacts-in-mautic.php', | ||
potFilename: 'contacts-in-mautic.pot', | ||
potHeaders: { | ||
poedit: true, | ||
'x-poedit-keywordslist': true | ||
}, | ||
type: 'wp-plugin', | ||
updateTimestamp: true | ||
} | ||
} | ||
}, | ||
} ); | ||
|
||
grunt.loadNpmTasks( 'grunt-wp-i18n' ); | ||
grunt.loadNpmTasks( 'grunt-wp-readme-to-markdown' ); | ||
grunt.registerTask( 'i18n', ['addtextdomain', 'makepot'] ); | ||
grunt.registerTask( 'readme', ['wp_readme_to_markdown'] ); | ||
|
||
grunt.util.linefeed = '\n'; | ||
|
||
}; |
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
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
Oops, something went wrong.