watchexec/crates/cli/integration/env.sh

8 lines
123 B
Bash
Raw Normal View History

#!/bin/bash
set -euxo pipefail
watchexec=${WATCHEXEC_BIN:-watchexec}
$watchexec -1 --env FOO=BAR echo '$FOO' | grep BAR