From 542cf9c52baa7d0cfce9a69308794f9049e34b5b Mon Sep 17 00:00:00 2001 From: archy Date: Fri, 26 Dec 2014 04:14:18 +0800 Subject: [PATCH 1/5] vendor.yml: added custom bootstrap --- lib/linguist/vendor.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/linguist/vendor.yml b/lib/linguist/vendor.yml index 4b8299f4..0728264e 100644 --- a/lib/linguist/vendor.yml +++ b/lib/linguist/vendor.yml @@ -42,6 +42,7 @@ # Bootstrap css and js - (^|/)bootstrap([^.]*)\.(js|css)$ +- (^|/)custom\.bootstrap([^\s]*)(js|css|less|scss|)$ # Font Awesome - font-awesome.css From 64f83eee07a67ad4b658bcaba88b8fdb7d458afc Mon Sep 17 00:00:00 2001 From: archy Date: Fri, 26 Dec 2014 04:28:34 +0800 Subject: [PATCH 2/5] vendor.yml: added styl --- lib/linguist/vendor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/linguist/vendor.yml b/lib/linguist/vendor.yml index 0728264e..3fb5ffa8 100644 --- a/lib/linguist/vendor.yml +++ b/lib/linguist/vendor.yml @@ -42,7 +42,7 @@ # Bootstrap css and js - (^|/)bootstrap([^.]*)\.(js|css)$ -- (^|/)custom\.bootstrap([^\s]*)(js|css|less|scss|)$ +- (^|/)custom\.bootstrap([^\s]*)(js|css|less|scss|styl)$ # Font Awesome - font-awesome.css From 2c5d720146c5f6212b8d6d2ddf4803b1d4f336aa Mon Sep 17 00:00:00 2001 From: archy Date: Fri, 26 Dec 2014 04:30:33 +0800 Subject: [PATCH 3/5] vendor.yml: added imported bootstrap files --- lib/linguist/vendor.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/linguist/vendor.yml b/lib/linguist/vendor.yml index 3fb5ffa8..3b667371 100644 --- a/lib/linguist/vendor.yml +++ b/lib/linguist/vendor.yml @@ -43,6 +43,7 @@ # Bootstrap css and js - (^|/)bootstrap([^.]*)\.(js|css)$ - (^|/)custom\.bootstrap([^\s]*)(js|css|less|scss|styl)$ +- (^|/)bootstrap/([^\s]*)import\.(css|less|scss|styl)$ # Font Awesome - font-awesome.css From 356b94211459594091b060fac50cdf99358228af Mon Sep 17 00:00:00 2001 From: archy Date: Fri, 26 Dec 2014 04:35:37 +0800 Subject: [PATCH 4/5] vendor.yml: added less, scss, styl suffixes for popular stylesheets --- lib/linguist/vendor.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/lib/linguist/vendor.yml b/lib/linguist/vendor.yml index 3b667371..57db0dcc 100644 --- a/lib/linguist/vendor.yml +++ b/lib/linguist/vendor.yml @@ -41,25 +41,24 @@ - (\.|-)min\.(js|css)$ # Bootstrap css and js -- (^|/)bootstrap([^.]*)\.(js|css)$ +- (^|/)bootstrap([^.]*)\.(js|css|less|scss|styl)$ - (^|/)custom\.bootstrap([^\s]*)(js|css|less|scss|styl)$ - (^|/)bootstrap/([^\s]*)import\.(css|less|scss|styl)$ # Font Awesome -- font-awesome.css +- (^|/)font-awesome\.(css|less|scss|styl)$ # Foundation css -- foundation.css +- (^|/)foundation\.(css|less|scss|styl)$ # Normalize.css -- normalize.css +- (^|/)normalize\.(css|less|scss|styl)$ # Bourbon SCSS -- (^|/)[Bb]ourbon/.*\.css$ -- (^|/)[Bb]ourbon/.*\.scss$ +- (^|/)[Bb]ourbon/.*\.(css|less|scss|styl)$ # Animate.css -- animate.css +- (^|/)animate\.(css|less|scss|styl)$ # Vendored dependencies - third[-_]?party/ From 084a9ab97639fcd8aa422dc7aefcf491914f85a4 Mon Sep 17 00:00:00 2001 From: archy Date: Fri, 26 Dec 2014 04:43:04 +0800 Subject: [PATCH 5/5] vendor.yml: added stylesheets imported from packages --- lib/linguist/vendor.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/linguist/vendor.yml b/lib/linguist/vendor.yml index 57db0dcc..4ba241ca 100644 --- a/lib/linguist/vendor.yml +++ b/lib/linguist/vendor.yml @@ -40,10 +40,12 @@ # Minified JavaScript and CSS - (\.|-)min\.(js|css)$ +#Stylesheets imported from packages +- ([^\s]*)import\.(css|less|scss|styl)$ + # Bootstrap css and js - (^|/)bootstrap([^.]*)\.(js|css|less|scss|styl)$ - (^|/)custom\.bootstrap([^\s]*)(js|css|less|scss|styl)$ -- (^|/)bootstrap/([^\s]*)import\.(css|less|scss|styl)$ # Font Awesome - (^|/)font-awesome\.(css|less|scss|styl)$ @@ -54,7 +56,7 @@ # Normalize.css - (^|/)normalize\.(css|less|scss|styl)$ -# Bourbon SCSS +# Bourbon css - (^|/)[Bb]ourbon/.*\.(css|less|scss|styl)$ # Animate.css