2022-12-14 11:28:25 +03:00
|
|
|
#!/bin/bash
|
2022-12-14 11:28:25 +03:00
|
|
|
set -Eeuo pipefail
|
2022-10-05 16:45:03 +03:00
|
|
|
|
|
|
|
echo "----- install generic macos package -----"
|
|
|
|
|
|
|
|
# install
|
|
|
|
generic_macos_package=$(ls target/upload/hurl-*-x86_64-macos.tar.gz)
|
|
|
|
|
|
|
|
install_dir="/tmp/hurl-generic-macos"
|
|
|
|
mkdir -p "${install_dir}"
|
|
|
|
tar xvf "${generic_macos_package}" -C "${install_dir}" --strip-components=1
|
|
|
|
|
|
|
|
# Return PATH var to parent shell
|
2023-03-07 17:50:35 +03:00
|
|
|
echo "Run this if you want to use fresh built Hurl package:"
|
2022-10-05 16:45:03 +03:00
|
|
|
echo " export PATH=${install_dir}:$PATH"
|
2022-12-14 11:28:25 +03:00
|
|
|
|