Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions bin/lime.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,21 +117,21 @@ def checkDependencies():
if not os.path.exists(compiler_path):
zip_path = os.path.join(extdir,'compiler.zip')
print ('Downloading Closure Compiler: ')
urlretrieve("http://closure-compiler.googlecode.com/files/compiler-20130411.zip",zip_path,rephook)
urlretrieve("http://dl.google.com/closure-compiler/compiler-latest.zip",zip_path,rephook)
print ('\nUnzipping...')
zippedFile = zipfile.ZipFile(zip_path)
zippedFile.extract('compiler.jar',extdir)
zippedFile.extract('closure-compiler-v20160911.jar',extdir)
zippedFile.close()
print ('Cleanup')
os.unlink(zip_path)
os.rename(os.path.join(extdir,'compiler.jar'), compiler_path)
os.rename(os.path.join(extdir,'closure-compiler-v20160911.jar'), compiler_path)


#Closure Templates
if not os.path.exists(soy_path):
zip_path = os.path.join(extdir,'soy.zip')
print ('Downloading Closure Templates(Soy):')
urlretrieve("http://closure-templates.googlecode.com/files/closure-templates-for-javascript-latest.zip",
urlretrieve("https://dl.google.com/closure-templates/closure-templates-for-javascript-latest.zip",
zip_path,rephook)
print ('\nUnzipping...')
zippedFile = zipfile.ZipFile(zip_path)
Expand Down