hurl/bin/test/test_unit.sh
2023-01-02 13:26:14 +01:00

14 lines
306 B
Bash
Executable File

#!/bin/bash
set -Eeuo pipefail
echo "----- unit tests -----"
PATH="$HOME"/.cargo/bin:$PATH
export PATH
cargo test --release
# Return PATH var to parent shell
package_dir="$(cd target/release ; pwd)"
echo "Run this if you want to use fresh builded hurl package:"
echo " export PATH=$package_dir:$PATH"