This commit is contained in:
asd 2020-03-15 13:56:25 -03:00
parent de16846aba
commit 051832d1a5

View file

@ -21,6 +21,9 @@ release() {
rm -rf "${NAVI_HOME}/target" 2> /dev/null || true
if [ -n "$target" ]; then
if ! command_exists openssl; then
apt-get install libssl-dev || sudo apt-get install libssl-dev || true
fi
cargo install cross 2> /dev/null || true
cross build --release --locked --target "$target"
bin_folder="${target}/release"