summaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2015-03-07 14:26:51 +0100
committerBernhard Posselt <dev@bernhard-posselt.com>2015-03-07 14:26:51 +0100
commitc53250f18730b2edef57f098cec3ad706d6efb53 (patch)
tree0331f63b021912cbf6387fa4c7de1421d6b0e9ef /js
parent8037a86eb3a44f129e619ef17b715d396c459cd5 (diff)
simplify cachebuster rules
Diffstat (limited to 'js')
-rw-r--r--js/Gruntfile.js61
1 files changed, 32 insertions, 29 deletions
diff --git a/js/Gruntfile.js b/js/Gruntfile.js
index 1647fac32..23b5273b7 100644
--- a/js/Gruntfile.js
+++ b/js/Gruntfile.js
@@ -229,50 +229,53 @@ module.exports = function (grunt) {
},
src: [
'../**',
+ // js
'!../js/**',
- '!../tests/**',
- '!../l10n/**',
'../js/build/*.min.js',
'../js/vendor/**/*.min.js',
'!../js/vendor/jquery/**',
'!../js/vendor/js-url/lib/**',
'!../js/vendor/angular-mocks/**',
+ // css
'!../css/**',
'../css/*.min.css',
- '!../**/*.md',
- '!../**/*.markdown',
- '!../**/*.rst',
+ // l10n
+ '!../l10n/**',
+ // appinfo
'!../appinfo/checksum.json',
+ // build
'!../build/**',
- '!../bin/git/**',
- '!../**/phpunit*',
- '!../vendor/**/tests/**',
- '!../vendor/**/docs/**',
- '!../**/*.log',
- '!../**/*.sw',
- '!../**/composer.*',
- '!../**/Makefile',
- '!../vendor/ezyang/htmlpurifier/configdoc/**',
- '!../vendor/ezyang/htmlpurifier/smoketests/**',
- '!../vendor/ezyang/htmlpurifier/maintenance/**',
- '!../vendor/ezyang/htmlpurifier/benchmarks/**',
- '!../vendor/ezyang/htmlpurifier/art/**',
+ // vendor
+ '!../vendor/ezyang/htmlpurifier/**',
+ '../vendor/ezyang/htmlpurifier/**/*.php',
+ '../vendor/ezyang/htmlpurifier/**/*.json',
'!../vendor/ezyang/htmlpurifier/extras/**',
+ '!../vendor/ezyang/htmlpurifier/maintenance/**',
'!../vendor/ezyang/htmlpurifier/plugins/**',
- '!../vendor/ezyang/htmlpurifier/Doxyfile',
- '!../vendor/ezyang/htmlpurifier/FOCUS',
- '!../vendor/ezyang/htmlpurifier/INSTALL*',
- '!../vendor/ezyang/htmlpurifier/NEWS',
- '!../vendor/ezyang/htmlpurifier/phpdoc.ini',
- '!../vendor/ezyang/htmlpurifier/README',
- '!../vendor/ezyang/htmlpurifier/TODO',
- '!../vendor/ezyang/htmlpurifier/VERSION',
- '!../vendor/ezyang/htmlpurifier/WHATSNEW',
- '!../vendor/ezyang/htmlpurifier/WYSIWYG',
+ '!../vendor/ezyang/htmlpurifier/maintenance/**',
+ '!../vendor/ezyang/htmlpurifier/configdoc/**',
+ '!../vendor/ezyang/htmlpurifier/benchmarks/**',
+ '!../vendor/ezyang/htmlpurifier/smoketests/**',
+ '!../vendor/fguillot/picofeed/**',
+ '../vendor/fguillot/picofeed/**/*.php',
+ '../vendor/fguillot/picofeed/**/*.json',
+ '!../vendor/pear/net_url2/**',
+ '../vendor/pear/net_url2/**/*.php',
+ '../vendor/pear/net_url2/**/*.json',
+ // bin
+ '!../bin/updater/dist',
'!../**/*.pyc',
'!../**/PKG_INFO',
'!../**/__pycache__',
- '!../bin/updater/dist',
+ '!../bin/git/**',
+ // generic
+ '!../**/*.md',
+ '!../**/phpunit*',
+ '!../**/*.log',
+ '!../**/*.sw',
+ '!../**/Makefile',
+ '!../**/docs/**',
+ '!../**/tests/**',
],
dest: '../appinfo/checksum.json'
}