-
Notifications
You must be signed in to change notification settings - Fork 12
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
1 parent
670004f
commit aee2534
Showing
82 changed files
with
79,191 additions
and
79,188 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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
module.exports = { | ||
options : { | ||
force: true //This overrides this task from blocking deletion of folders outside current working dir (CWD). Use with caution. | ||
}, | ||
main : ['build/**/*'] | ||
module.exports = { | ||
options : { | ||
force: true //This overrides this task from blocking deletion of folders outside current working dir (CWD). Use with caution. | ||
}, | ||
main : ['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 |
---|---|---|
@@ -1,12 +1,12 @@ | ||
module.exports = { | ||
main: { | ||
options: { | ||
mode: 'zip', | ||
archive: './build/<%= pkg.name %>.zip' | ||
}, | ||
expand: true, | ||
cwd: 'build/<%= pkg.name %>/', | ||
src: ['**/*'], | ||
dest: '<%= pkg.name %>/' | ||
} | ||
module.exports = { | ||
main: { | ||
options: { | ||
mode: 'zip', | ||
archive: './build/<%= pkg.name %>.zip' | ||
}, | ||
expand: true, | ||
cwd: 'build/<%= pkg.name %>/', | ||
src: ['**/*'], | ||
dest: '<%= pkg.name %>/' | ||
} | ||
}; |
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,5 +1,5 @@ | ||
module.exports = { | ||
options: { | ||
separator: '', | ||
} | ||
module.exports = { | ||
options: { | ||
separator: '', | ||
} | ||
}; |
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,34 +1,34 @@ | ||
module.exports = { | ||
main: { | ||
src: [ | ||
'**', | ||
'!bin/**', | ||
|
||
'!build/**', | ||
'!__grunt-tasks-config__/**', | ||
'!node_modules/**', | ||
'!tests/**', | ||
'!wpcs/**', | ||
|
||
'!.git/**', | ||
'!gruntfile.js', | ||
'!package.json', | ||
'!package-lock.json', | ||
'!.gitignore', | ||
'!.ftpauth', | ||
'!.travis.yml', | ||
'!travis-examples/**', | ||
'!phpunit.xml', | ||
'!readme.md', | ||
'!npm-debug.log', | ||
|
||
'!**/*.db', | ||
'!patches/**', | ||
|
||
'!addons/_dev_print_customizer_data.php', | ||
|
||
'!dev_logs.php' | ||
], | ||
dest: 'build/<%= pkg.name %>/' | ||
} | ||
module.exports = { | ||
main: { | ||
src: [ | ||
'**', | ||
'!bin/**', | ||
|
||
'!build/**', | ||
'!__grunt-tasks-config__/**', | ||
'!node_modules/**', | ||
'!tests/**', | ||
'!wpcs/**', | ||
|
||
'!.git/**', | ||
'!gruntfile.js', | ||
'!package.json', | ||
'!package-lock.json', | ||
'!.gitignore', | ||
'!.ftpauth', | ||
'!.travis.yml', | ||
'!travis-examples/**', | ||
'!phpunit.xml', | ||
'!readme.md', | ||
'!npm-debug.log', | ||
|
||
'!**/*.db', | ||
'!patches/**', | ||
|
||
'!addons/_dev_print_customizer_data.php', | ||
|
||
'!dev_logs.php' | ||
], | ||
dest: 'build/<%= pkg.name %>/' | ||
} | ||
}; |
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,9 +1,9 @@ | ||
module.exports = { | ||
options : { | ||
reporter : require('jshint-stylish'), | ||
scripturl:true | ||
}, | ||
gruntfile : ['Gruntfile.js'], | ||
front_js : ['<%= paths.front_js %>*.js', '!<%= paths.front_js %>*.min.js'], | ||
those : [], //populated dynamically with the watch event | ||
module.exports = { | ||
options : { | ||
reporter : require('jshint-stylish'), | ||
scripturl:true | ||
}, | ||
gruntfile : ['Gruntfile.js'], | ||
front_js : ['<%= paths.front_js %>*.js', '!<%= paths.front_js %>*.min.js'], | ||
those : [], //populated dynamically with the watch event | ||
}; |
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,42 +1,42 @@ | ||
module.exports = { | ||
main: { | ||
src: [ | ||
'ha-fire.php' | ||
], | ||
overwrite: true, | ||
replacements: [ { | ||
from: /^.* Version: .*$/m, | ||
to: '* Version: <%= pkg.version %>' | ||
} ] | ||
}, | ||
readme_md : { | ||
src: [ | ||
'readme.md' | ||
], | ||
overwrite: true, | ||
replacements: [ { | ||
from: /^.*Stable tag: .*$/m, | ||
to: '* Stable tag: <%= pkg.version %>' | ||
} ] | ||
}, | ||
readme_txt : { | ||
src: [ | ||
'readme.txt' | ||
], | ||
overwrite: true, | ||
replacements: [ { | ||
from: /^.*Stable tag: .*$/m, | ||
to: 'Stable tag: <%= pkg.version %>' | ||
} ] | ||
}, | ||
lang : { | ||
src: [ | ||
'<%= paths.lang %>*.po' | ||
], | ||
overwrite: true, | ||
replacements: [ { | ||
from: /^.* Hueman Addons v.*$/m, | ||
to: '"Project-Id-Version: Hueman Addons v<%= pkg.version %>\\n"' | ||
} ] | ||
}, | ||
module.exports = { | ||
main: { | ||
src: [ | ||
'ha-fire.php' | ||
], | ||
overwrite: true, | ||
replacements: [ { | ||
from: /^.* Version: .*$/m, | ||
to: '* Version: <%= pkg.version %>' | ||
} ] | ||
}, | ||
readme_md : { | ||
src: [ | ||
'readme.md' | ||
], | ||
overwrite: true, | ||
replacements: [ { | ||
from: /^.*Stable tag: .*$/m, | ||
to: '* Stable tag: <%= pkg.version %>' | ||
} ] | ||
}, | ||
readme_txt : { | ||
src: [ | ||
'readme.txt' | ||
], | ||
overwrite: true, | ||
replacements: [ { | ||
from: /^.*Stable tag: .*$/m, | ||
to: 'Stable tag: <%= pkg.version %>' | ||
} ] | ||
}, | ||
lang : { | ||
src: [ | ||
'<%= paths.lang %>*.po' | ||
], | ||
overwrite: true, | ||
replacements: [ { | ||
from: /^.* Hueman Addons v.*$/m, | ||
to: '"Project-Id-Version: Hueman Addons v<%= pkg.version %>\\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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
module.exports = { | ||
options: { | ||
compress: { | ||
global_defs: { | ||
"DEBUG": false | ||
}, | ||
dead_code: true | ||
} | ||
}, | ||
front_js: { | ||
files: [{ | ||
expand: true, | ||
cwd: '<%= paths.front_js %>', | ||
src: ['**/*.js', '!*.min.js'], | ||
dest: '<%= paths.front_js %>', | ||
ext: '.min.js' | ||
}] | ||
}, | ||
any_file : { | ||
files: { '<%= uglify_requested_paths.dest %>': ['<%= uglify_requested_paths.src %>'] | ||
} | ||
} | ||
module.exports = { | ||
options: { | ||
compress: { | ||
global_defs: { | ||
"DEBUG": false | ||
}, | ||
dead_code: true | ||
} | ||
}, | ||
front_js: { | ||
files: [{ | ||
expand: true, | ||
cwd: '<%= paths.front_js %>', | ||
src: ['**/*.js', '!*.min.js'], | ||
dest: '<%= paths.front_js %>', | ||
ext: '.min.js' | ||
}] | ||
}, | ||
any_file : { | ||
files: { '<%= uglify_requested_paths.dest %>': ['<%= uglify_requested_paths.src %>'] | ||
} | ||
} | ||
}; |
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,20 +1,20 @@ | ||
module.exports = { | ||
// gruntfile: { | ||
// files: 'Gruntfile.js', | ||
// tasks: ['jshint:gruntfile'], | ||
// }, | ||
options: { | ||
spawn : false, | ||
// Start a live reload server on the default port 35729 | ||
livereload : true, | ||
}, | ||
front_js : { | ||
files : ['<%= paths.front_js %>*.js', '!*.min.js'], | ||
tasks : ['jshint:front_js','uglify:front_js'], | ||
//tasks: ['concat:front_js', 'jshint:front', 'ftp_push:those'], | ||
}, | ||
php : { | ||
files: ['**/*.php' , '!build/**.*.php'], | ||
tasks: [] | ||
} | ||
module.exports = { | ||
// gruntfile: { | ||
// files: 'Gruntfile.js', | ||
// tasks: ['jshint:gruntfile'], | ||
// }, | ||
options: { | ||
spawn : false, | ||
// Start a live reload server on the default port 35729 | ||
livereload : true, | ||
}, | ||
front_js : { | ||
files : ['<%= paths.front_js %>*.js', '!*.min.js'], | ||
tasks : ['jshint:front_js','uglify:front_js'], | ||
//tasks: ['concat:front_js', 'jshint:front', 'ftp_push:those'], | ||
}, | ||
php : { | ||
files: ['**/*.php' , '!build/**.*.php'], | ||
tasks: [] | ||
} | ||
}; |
Oops, something went wrong.