forked from platformio/platformio-core
Extend packing filters
This commit is contained in:
@ -47,6 +47,7 @@ class PackagePacker(object):
|
|||||||
".cache",
|
".cache",
|
||||||
"**/.cache",
|
"**/.cache",
|
||||||
"**/__pycache__",
|
"**/__pycache__",
|
||||||
|
"**/*.pyc",
|
||||||
# VCS
|
# VCS
|
||||||
".git/",
|
".git/",
|
||||||
".hg/",
|
".hg/",
|
||||||
@ -54,7 +55,8 @@ class PackagePacker(object):
|
|||||||
]
|
]
|
||||||
EXCLUDE_EXTRA = [
|
EXCLUDE_EXTRA = [
|
||||||
# Tests
|
# Tests
|
||||||
"tests?",
|
"test",
|
||||||
|
"tests",
|
||||||
# Docs
|
# Docs
|
||||||
"doc",
|
"doc",
|
||||||
"docs",
|
"docs",
|
||||||
@ -64,10 +66,15 @@ class PackagePacker(object):
|
|||||||
"html",
|
"html",
|
||||||
"media",
|
"media",
|
||||||
"**/*.[pP][dD][fF]",
|
"**/*.[pP][dD][fF]",
|
||||||
"**/*.[dD][oO][cC]?",
|
"**/*.[dD][oO][cC]",
|
||||||
"**/*.[pP][pP][tT]?",
|
"**/*.[dD][oO][cC][xX]",
|
||||||
|
"**/*.[pP][pP][tT]",
|
||||||
|
"**/*.[pP][pP][tT][xX]",
|
||||||
|
"**/*.[xX][lL][sS]",
|
||||||
|
"**/*.[xX][lL][sS][xX]",
|
||||||
"**/*.[dD][oO][xX]",
|
"**/*.[dD][oO][xX]",
|
||||||
"**/*.[hH][tT][mM]?",
|
"**/*.[hH][tT][mM]",
|
||||||
|
"**/*.[hH][tT][mM][lL]",
|
||||||
"**/*.[tT][eE][xX]",
|
"**/*.[tT][eE][xX]",
|
||||||
"**/*.[jJ][sS]",
|
"**/*.[jJ][sS]",
|
||||||
"**/*.[cC][sS][sS]",
|
"**/*.[cC][sS][sS]",
|
||||||
@ -83,6 +90,7 @@ class PackagePacker(object):
|
|||||||
"**/*.[mM][pP][34]",
|
"**/*.[mM][pP][34]",
|
||||||
"**/*.[pP][sS][dD]",
|
"**/*.[pP][sS][dD]",
|
||||||
"**/*.[wW][aA][wW]",
|
"**/*.[wW][aA][wW]",
|
||||||
|
"**/*.sqlite",
|
||||||
]
|
]
|
||||||
EXCLUDE_LIBRARY_EXTRA = [
|
EXCLUDE_LIBRARY_EXTRA = [
|
||||||
"assets",
|
"assets",
|
||||||
|
Reference in New Issue
Block a user