Revert "Revert "make match condition in copy:builds work cross-platform""

This reverts commit 8be82269e28aadf9c7bab93ddb2abf174e2631bd.
This commit is contained in:
ccd0 2014-11-10 01:49:24 -08:00
parent 0ec7fca9b8
commit bd96eba5e8

View File

@ -105,7 +105,7 @@ module.exports = (grunt) ->
expand: true
filter: (src) ->
pkg = grunt.config 'pkg'
grunt.file.isFile(src) and src isnt "testbuilds/#{pkg.name}#{pkg.meta.suffix.dev}.user.js"
grunt.file.isFile(src) and !grunt.file.isMatch(src, "testbuilds/#{pkg.name}#{pkg.meta.suffix.dev}.user.js")
coffee:
script: