swc/crates/swc_plugin/scripts/test.sh
2021-11-09 20:42:49 +09:00

12 lines
247 B
Bash
Executable File

#!/usr/bin/env bash
## This script assumes `plugins` is in `$CDPATH`
set -eu
(cd plugins && cargo build && ls -al target/debug)
export PLUGINS_DIR=$(cd plugins > /dev/null && pwd)
echo "Using plugins at $PLUGINS_DIR"
(cd runner && cargo test)