Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CSS-Tricks/The-Printliminator.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Gruntfile.js')
-rw-r--r--Gruntfile.js15
1 files changed, 13 insertions, 2 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index eb0bfee..f0276c5 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -84,7 +84,8 @@ module.exports = function( grunt ) {
src : [
'dist/**/*',
config.indexHtml,
- '*.min.js'
+ '*.min.js',
+ 'updates.xml'
]
},
cleanup : {
@@ -119,6 +120,14 @@ module.exports = function( grunt ) {
src : [ '_locales/**/*.json' ],
dest : 'dist/chrome'
},
+ chromeUpdate : {
+ files : [{
+ expand : true,
+ flatten : true,
+ src : [ 'src/chrome/updates.xml' ],
+ dest : './'
+ }]
+ },
// Opera can use chrome.crx; just renamed
opera : {
src : 'dist/chrome.crx',
@@ -290,6 +299,7 @@ module.exports = function( grunt ) {
'bookmarklet-create',
'copy:chrome',
'copy:chromeLocales',
+ 'copy:chromeUpdate',
'jshint',
'jasmine',
'clean:cleanup'
@@ -351,7 +361,8 @@ module.exports = function( grunt ) {
projectFile = [
'dist/chrome/manifest.json',
'dist/chrome/printliminator.js',
- 'dist/bookmarklet/printliminator.js'
+ 'dist/bookmarklet/printliminator.js',
+ 'updates.xml'
],
len = projectFile.length;
for ( i = 0; i < len; i++ ) {