|
@@ -143,6 +143,7 @@ def build(files, css, html, filename, release=False): |
|
|
output(addHeaderJS(js, version), folder + filename) |
|
|
output(addHeaderJS(js, version), folder + filename) |
|
|
|
|
|
|
|
|
def main(): |
|
|
def main(): |
|
|
|
|
|
os.chdir(os.path.dirname(os.path.abspath(__file__))) # cd to script dir |
|
|
if (len(sys.argv) > 1 and sys.argv[1] == 'release'): |
|
|
if (len(sys.argv) > 1 and sys.argv[1] == 'release'): |
|
|
build(JS, CSS, HTML, 'pannellum', True) |
|
|
build(JS, CSS, HTML, 'pannellum', True) |
|
|
else: |
|
|
else: |
|
|