provision: Provide a nice success message.

This commit is contained in:
Tim Abbott
2016-07-28 15:30:47 -07:00
parent ed95c34b83
commit 315766ae02

View File

@@ -13,7 +13,7 @@ PY2 = sys.version_info[0] == 2
ZULIP_PATH = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) ZULIP_PATH = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
sys.path.append(ZULIP_PATH) sys.path.append(ZULIP_PATH)
from zulip_tools import run, subprocess_text_output from zulip_tools import run, subprocess_text_output, OKBLUE, ENDC
from scripts.lib.setup_venv import setup_virtualenv, VENV_DEPENDENCIES from scripts.lib.setup_venv import setup_virtualenv, VENV_DEPENDENCIES
SUPPORTED_PLATFORMS = { SUPPORTED_PLATFORMS = {
@@ -240,6 +240,9 @@ def main():
# Run npm install last because it can be flaky, and that way one # Run npm install last because it can be flaky, and that way one
# only needs to rerun `npm install` to fix the installation. # only needs to rerun `npm install` to fix the installation.
setup_node_modules() setup_node_modules()
print()
print(OKBLUE + "Zulip development environent setup succeeded!" + ENDC)
return 0 return 0
if __name__ == "__main__": if __name__ == "__main__":