mirror of
https://github.com/denoland/deno
synced 2024-11-05 18:45:24 +00: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 = [
|
||||
"./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),
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue