Simpler exclusion.
This commit is contained in:
parent
8c6e4f822d
commit
07d079874d
@ -87,11 +87,9 @@ module.exports = (grunt) ->
|
|||||||
dest: 'testbuilds/<%= pkg.name %>.zip'
|
dest: 'testbuilds/<%= pkg.name %>.zip'
|
||||||
builds:
|
builds:
|
||||||
cwd: 'testbuilds/'
|
cwd: 'testbuilds/'
|
||||||
src: ['*.js', '*.crx', '*.xml', '<%= pkg.name %>.zip']
|
src: ['*.js', '*.crx', '*.xml', '<%= pkg.name %>.zip', '!*-noupdate.xml', '!*-noupdate.meta.js']
|
||||||
dest: 'builds/'
|
dest: 'builds/'
|
||||||
expand: true
|
expand: true
|
||||||
filter: (src) ->
|
|
||||||
not /-noupdate\.(xml|meta\.js)$/.test src
|
|
||||||
install:
|
install:
|
||||||
files: if grunt.file.exists('install.json') then grunt.file.readJSON('install.json') else []
|
files: if grunt.file.exists('install.json') then grunt.file.readJSON('install.json') else []
|
||||||
web:
|
web:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user