Add IGNORED in GUI build script
This commit is contained in:
parent
e9b2653ad0
commit
e04badb234
@ -6,6 +6,8 @@ from bs4 import BeautifulSoup, Tag
|
||||
from jsmin import jsmin
|
||||
from csscompressor import compress
|
||||
|
||||
IGNORED = 'gui//webui.js'
|
||||
|
||||
if __name__ == '__main__':
|
||||
# html input param
|
||||
html = sys.argv[1]
|
||||
@ -49,7 +51,7 @@ if __name__ == '__main__':
|
||||
with open('.temp.js', 'w') as outfileScript:
|
||||
for fname in scriptsSrc:
|
||||
# add space every script
|
||||
if fname != 'gui//webui.js':
|
||||
if fname not in IGNORED:
|
||||
outfileScript.write('\n')
|
||||
with open(fname) as infile:
|
||||
for line in infile:
|
||||
|
Loading…
Reference in New Issue
Block a user