make match condition in copy:builds work cross-platform
This commit is contained in:
parent
c471ed09af
commit
74cff28c53
@ -105,7 +105,7 @@ module.exports = (grunt) ->
|
|||||||
expand: true
|
expand: true
|
||||||
filter: (src) ->
|
filter: (src) ->
|
||||||
pkg = grunt.config 'pkg'
|
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:
|
coffee:
|
||||||
script:
|
script:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user