mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-22 21:41:37 +00:00
- 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.
14 lines
342 B
Bash
Executable file
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")
|