From 5efe2dd71f929985c16169075c792e29a6f0abdb Mon Sep 17 00:00:00 2001 From: Immortalin Date: Sat, 14 Nov 2015 22:23:40 +0800 Subject: [PATCH] fixed npm closure library issue --- build.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/build.py b/build.py index 9593d271b..671e20cbb 100755 --- a/build.py +++ b/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""")