VelNet-Server/control-panel/compile_server.sh

5 lines
77 B
Bash

#!/bin/bash
cd ..
sudo -u "$1" bash -c "~/.cargo/bin/cargo build --release"