From b1a409b4a3091f9ba4703aa9a0ff9af519d30341 Mon Sep 17 00:00:00 2001 From: Joe Date: Fri, 2 Jan 2026 09:50:33 -0600 Subject: [PATCH] Add installation script for building and deploying Rojo plugin --- install.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 install.sh diff --git a/install.sh b/install.sh new file mode 100755 index 00000000..fe350ecc --- /dev/null +++ b/install.sh @@ -0,0 +1,12 @@ +#!/bin/bash +set -e + +MODE="${1:-release}" +SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)" + +cd "$SCRIPT_DIR" +cargo build "--$MODE" +ROJO="./target/$MODE/rojo" +"$ROJO" build plugin.project.json --plugin Rojo.rbxm +pkill -f rojo || true +sudo cp "$ROJO" /usr/local/bin/