hurl/bin/release/release.sh
2022-10-06 15:16:38 +02:00

12 lines
280 B
Bash
Executable File

#!/bin/sh
set -e
PATH="$HOME"/.cargo/bin:$PATH
export PATH
cargo build --release --verbose --locked
# 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"