1#!/usr/bin/env bash
2set -e
3
4TARGET=to_binio@ssh.tobinio.dev
5BIN_NAME=puma
6
7cargo build --release --target x86_64-unknown-linux-musl
8
9scp target/x86_64-unknown-linux-musl/release/$BIN_NAME $TARGET:~/.local/bin/$BIN_NAME
10ssh $TARGET "chmod +x ~/.local/bin/$BIN_NAME"