#!/usr/bin/env bash set -e TARGET=to_binio@ssh.tobinio.dev BIN_NAME=puma cargo build --release --target x86_64-unknown-linux-musl scp target/x86_64-unknown-linux-musl/release/$BIN_NAME $TARGET:~/.local/bin/$BIN_NAME ssh $TARGET "chmod +x ~/.local/bin/$BIN_NAME"