Make copy list inclusive rather than exclusive.

This commit is contained in:
ccd0 2016-04-09 20:46:41 -07:00
parent 3016b2a7a1
commit 29ce710462

View File

@ -87,13 +87,10 @@ module.exports = (grunt) ->
src: 'testbuilds/<%= pkg.name %><%= pkg.meta.suffix.noupdate %>.crx.zip'
dest: 'testbuilds/<%= pkg.name %>.zip'
builds:
cwd: 'testbuilds/'
src: '*'
src: ['testbuilds/*.js', 'testbuilds/*.crx', 'testbuilds/*.xml', 'testbuilds/<%= pkg.name %>.zip']
dest: 'builds/'
expand: true
filter: (src) ->
pkg = grunt.config 'pkg'
grunt.file.isFile(src) and not /\.crx\.zip$/.test(src)
flatten: true
install:
files: if grunt.file.exists('install.json') then grunt.file.readJSON('install.json') else []
web: