Commit 5efe2dd7 authored by Immortalin's avatar Immortalin

fixed npm closure library issue

parent 2cc62bff
......@@ -450,9 +450,11 @@ if __name__ == "__main__":
"Please rename this directory.")
elif os.path.isdir(os.path.join(os.path.pardir, "google-closure-library")):
# When Closure is installed by npm, it is named "google-closure-library".
print("Error: Closure directory needs to be renamed from"
"'google-closure-library' to 'closure-library'.\n"
"Please rename this directory.")
calcdeps = import_path(os.path.join(
os.path.pardir, "closure-library", "closure", "bin", "calcdeps.py"))
# print("Error: Closure directory needs to be renamed from"
# "'google-closure-library' to 'closure-library'.\n"
# "Please rename this directory.")
else:
print("""Error: Closure not found. Read this:
https://developers.google.com/blockly/hacking/closure""")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment