Add Foundation js to vendor.yml, and test_blob.rb

Excludes files like:
- foundation.js
- foundation.min.js
- foundation.abide.js
This commit is contained in:
Chiang Fong Lee
2014-08-06 20:07:08 +08:00
parent 41c880afc7
commit b8e570bb3d
2 changed files with 8 additions and 0 deletions

View File

@@ -202,6 +202,9 @@
- (^|/)cordova([^.]*)(\.min)?\.js$
- (^|/)cordova\-\d\.\d(\.\d)?(\.min)?\.js$
# Foundation js
- foundation(\..*)?\.js$
# Vagrant
- ^Vagrantfile$

View File

@@ -413,6 +413,11 @@ class TestBlob < Test::Unit::TestCase
assert blob("cordova-2.1.0.js").vendored?
assert blob("cordova-2.1.0.min.js").vendored?
# Foundation js
assert blob("foundation.js").vendored?
assert blob("foundation.min.js").vendored?
assert blob("foundation.abide.js").vendored?
# Vagrant
assert blob("Vagrantfile").vendored?