mirror of
https://github.com/google/blockly.git
synced 2026-01-08 17:40:09 +01:00
fixed npm closure library issue
This commit is contained in:
8
build.py
8
build.py
@@ -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""")
|
||||
|
||||
Reference in New Issue
Block a user