From ad5827a2a3c3828bdff6ed4366cedbd85617a4b1 Mon Sep 17 00:00:00 2001 From: Sam El-Husseini Date: Mon, 6 Jul 2020 13:53:54 -0700 Subject: [PATCH] Add deprecation message to build.py --- build.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build.py b/build.py index 89c5134f8..d6d8827bb 100755 --- a/build.py +++ b/build.py @@ -485,6 +485,10 @@ if __name__ == "__main__": full_search_paths = calcdeps.ExpandDirectories(["core", "closure"]) full_search_paths = sorted(full_search_paths) # Deterministic build. + print("Deprecation Warning: \n This build script has been deprecated, " + + "please use 'npm run build' instead. \n The script will be removed from " + + "Blockly core in Q4 of 2020.\n") + # Uncompressed and compressed are run in parallel threads. # Uncompressed is limited by processor speed. if (args.core):