From bb6222c91872695cbe98aa2a75166265f52cec2e Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Wed, 13 Jun 2018 14:58:06 +0200 Subject: Clean up the build (replace browserify with parcel) --- deno2/js/run_node.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'deno2/js/run_node.py') diff --git a/deno2/js/run_node.py b/deno2/js/run_node.py index 8f650a534..1a69dc502 100755 --- a/deno2/js/run_node.py +++ b/deno2/js/run_node.py @@ -1,6 +1,8 @@ #!/usr/bin/env python """ -gn can only run python scripts. +gn can only run python scripts. This launches a subprocess Node process. +The working dir of this program is out/Debug/ (AKA root_build_dir) +Before running node, we symlink js/node_modules to out/Debug/node_modules. """ import subprocess import sys @@ -23,7 +25,6 @@ def symlink(target, name, target_is_dir=False): js_path = os.path.dirname(os.path.realpath(__file__)) node_modules_path = os.path.join(js_path, "node_modules") -# root_out_dir if not os.path.exists("node_modules"): symlink(node_modules_path, "node_modules", True) -- cgit v1.2.3