packaging: Exclude bower_components from sources

This way we avoid that they will be re-built each time.
This commit is contained in:
Johannes Bornhold 2016-08-30 16:25:18 +02:00
parent a1b55d2535
commit b559676e0b

View file

@ -41,7 +41,8 @@ let
ext = last (splitString "." path);
in
!elem (basename path) [
".git" ".hg" "__pycache__" ".eggs" "node_modules"
".git" ".hg" "__pycache__" ".eggs"
"bower_components" "node_modules"
"build" "data" "tmp"] &&
!elem ext ["egg-info" "pyc"] &&
!startsWith "result" path;