mirror of
https://github.com/denoland/deno.git
synced 2025-01-03 04:48:52 -05:00
Reduce unnecessary build output.
This commit is contained in:
parent
ed9acaec7d
commit
d78254009e
3 changed files with 5 additions and 3 deletions
1
BUILD.gn
1
BUILD.gn
|
@ -178,6 +178,7 @@ run_node("bundle") {
|
||||||
args = [
|
args = [
|
||||||
"./node_modules/parcel-bundler/bin/cli.js",
|
"./node_modules/parcel-bundler/bin/cli.js",
|
||||||
"build",
|
"build",
|
||||||
|
"--log-level=1", # Only disply errors.
|
||||||
"--no-minify",
|
"--no-minify",
|
||||||
"--out-dir",
|
"--out-dir",
|
||||||
rebase_path(out_dir, root_build_dir),
|
rebase_path(out_dir, root_build_dir),
|
||||||
|
|
|
@ -16,4 +16,4 @@ target_abs = os.path.join(third_party_path, "node_modules")
|
||||||
target_rel = os.path.relpath(target_abs)
|
target_rel = os.path.relpath(target_abs)
|
||||||
|
|
||||||
util.remove_and_symlink(target_rel, "node_modules", True)
|
util.remove_and_symlink(target_rel, "node_modules", True)
|
||||||
util.run(["node"] + sys.argv[1:])
|
util.run(["node"] + sys.argv[1:], quiet=True)
|
||||||
|
|
|
@ -4,7 +4,8 @@ import os
|
||||||
import subprocess
|
import subprocess
|
||||||
|
|
||||||
|
|
||||||
def run(args):
|
def run(args, quiet=False):
|
||||||
|
if not quiet:
|
||||||
print " ".join(args)
|
print " ".join(args)
|
||||||
env = os.environ.copy()
|
env = os.environ.copy()
|
||||||
if os.name == "nt":
|
if os.name == "nt":
|
||||||
|
|
Loading…
Reference in a new issue