From 966ef4d39127e6ab3a08bc5ec8de5d3f3fab76a1 Mon Sep 17 00:00:00 2001 From: Michael Maclean Date: Wed, 21 Sep 2011 16:59:43 +0200 Subject: [PATCH 1/2] Ignore waf, a Python build system often bundled --- lib/linguist/vendor.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/linguist/vendor.yml b/lib/linguist/vendor.yml index eaedaf64..03f229e8 100644 --- a/lib/linguist/vendor.yml +++ b/lib/linguist/vendor.yml @@ -63,6 +63,9 @@ # Fabric - ^fabfile\.py$ +# WAF +- ^waf$ + ## Obj-C ## From 29c413366e3b9337276dcdc6d40c36108d0f7f8e Mon Sep 17 00:00:00 2001 From: Michael Maclean Date: Wed, 21 Sep 2011 17:07:47 +0200 Subject: [PATCH 2/2] Add test for WAF to test_vendored --- test/test_blob.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/test_blob.rb b/test/test_blob.rb index 2b90c67e..5adc3418 100644 --- a/test/test_blob.rb +++ b/test/test_blob.rb @@ -225,6 +225,9 @@ class TestBlob < Test::Unit::TestCase # Fabric assert blob("fabfile.py").vendored? + + # WAF + assert blob("waf").vendored? end def test_indexable