summaryrefslogtreecommitdiff
path: root/tools/run_node.py
diff options
context:
space:
mode:
authorRy Dahl <ry@tinyclouds.org>2020-01-05 09:19:29 -0500
committerGitHub <noreply@github.com>2020-01-05 09:19:29 -0500
commit5f1df038fb1462607af3555fa7431c05ca484dce (patch)
tree0e819c1e1ec422b9573abc379c79fcbcc1cbd88c /tools/run_node.py
parentc41280a057c9ca300afe43f2cb4f576e050f8cde (diff)
Replace libdeno with rusty_v8 (#3556)
Diffstat (limited to 'tools/run_node.py')
-rwxr-xr-xtools/run_node.py17
1 files changed, 0 insertions, 17 deletions
diff --git a/tools/run_node.py b/tools/run_node.py
deleted file mode 100755
index 4e6efc9a2..000000000
--- a/tools/run_node.py
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/env python
-# Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
-"""
-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 sys
-from os import path
-from util import symlink, root_path, run
-
-if not path.exists("node_modules"):
- target_abs = path.join(root_path, "third_party/node_modules")
- target_rel = path.relpath(target_abs)
- symlink(target_rel, "node_modules", True)
-
-run(["node"] + sys.argv[1:], quiet=True)