swc/crates/swc_ecma_minifier/scripts/instrument/all.sh

11 lines
261 B
Bash
Raw Normal View History

#!/usr/bin/env bash
#
# This instruments whole input directory
#
# Usage:
#
# ./scripts/instrument/all.sh path/to/dir
export RUST_LOG=off
cargo profile instruments -t time --example minify-all --features swc_common/perf --features concurrent --release -- $@