Skip to content

Commit a729b07

Browse files
author
tamat
committed
fixed
1 parent 44e49ac commit a729b07

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

utils/builder.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
import argparse
55
from datetime import date
66

7-
compiler_path = "../node_modules/google-closure-compiler-java/compiler.jar"
7+
compiler_path = "../node_modules/google-closure-compiler/compiler.jar"
88
root_path = "./"
99

1010
#arguments
1111
parser = argparse.ArgumentParser(description='Deploy a JS app creating a minifyed version checking for errors.')
12-
parser.add_argument('input_file',
12+
parser.add_argument('input_file',
1313
help='the path to the file with a list of all the JS files')
1414

1515
parser.add_argument('-o', dest='output_file', action='store',
@@ -20,7 +20,7 @@
2020
default=None,
2121
help='Specify an output for the full code version')
2222

23-
#parser.add_argument('output_file',
23+
#parser.add_argument('output_file',
2424
# help='the filename where to save the min version')
2525

2626
parser.add_argument('--all', dest='all_files', action='store_const',
@@ -43,7 +43,7 @@
4343
def packJSCode(files):
4444
f1, fullcode_path = tempfile.mkstemp() #create temporary file
4545
data = "//packer version\n\n"
46-
46+
4747
for filename in files:
4848
filename = filename.strip()
4949
if len(filename) == 0 or filename[0] == "#":
@@ -57,10 +57,10 @@ def packJSCode(files):
5757
if check_files_individually:
5858
os.system("java -jar %s --js %s --js_output_file %s" % (compiler_path, src_file, "temp.js") )
5959
sys.stderr.write('\033[92m' + "OK\n" + '\033[0m')
60-
60+
6161
os.write(f1,data)
6262
os.close(f1)
63-
63+
6464
#print " + Compiling all..."
6565
#os.system("java -jar %s --js %s --js_output_file %s" % (compiler_path, fullcode_path, output_file) )
6666
#print " * Done"

0 commit comments

Comments
 (0)