rojo/install.sh
Joe b2e03f07c7 Add vscode-rojo installation script execution to install scripts
- Updated `install.ps1` to include execution of the vscode-rojo installation script.
- Modified `install.sh` to change directory and run the vscode-rojo installation script, ensuring proper setup during installation.
2026-02-08 16:30:55 -06:00

14 lines
342 B
Bash
Executable file

#!/bin/bash
set -e
MODE="${1:-release}"
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
cd "$SCRIPT_DIR"
cargo build "--$MODE"
ATLAS="./target/$MODE/atlas"
"$ATLAS" build plugin.project.json --plugin Atlas.rbxm
pkill -f atlas || true
sudo cp "$ATLAS" /usr/local/bin/
(cd "$SCRIPT_DIR/vscode-rojo" && bash "$SCRIPT_DIR/vscode-rojo/install.sh")