1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 07:14:47 -05:00

Reduce unnecessary build output.

This commit is contained in:
Ryan Dahl 2018-07-16 22:40:42 -04:00
parent ed9acaec7d
commit d78254009e
3 changed files with 5 additions and 3 deletions

View file

@ -178,6 +178,7 @@ run_node("bundle") {
args = [
"./node_modules/parcel-bundler/bin/cli.js",
"build",
"--log-level=1", # Only disply errors.
"--no-minify",
"--out-dir",
rebase_path(out_dir, root_build_dir),

View file

@ -16,4 +16,4 @@ target_abs = os.path.join(third_party_path, "node_modules")
target_rel = os.path.relpath(target_abs)
util.remove_and_symlink(target_rel, "node_modules", True)
util.run(["node"] + sys.argv[1:])
util.run(["node"] + sys.argv[1:], quiet=True)

View file

@ -4,8 +4,9 @@ import os
import subprocess
def run(args):
print " ".join(args)
def run(args, quiet=False):
if not quiet:
print " ".join(args)
env = os.environ.copy()
if os.name == "nt":
# Run through shell to make .bat/.cmd files work.