Add new scripts and machinery to make working on plugin easier

This commit is contained in:
Lucien Greathouse
2019-10-01 17:13:28 -07:00
parent 0dbbf44ab2
commit 15e848d4bf
7 changed files with 46 additions and 6 deletions

View File

@@ -2,4 +2,12 @@
set -e
rojo build plugin -o $LOCALAPPDATA/Roblox/Plugins/Rojo.rbxm
DIR="$( mktemp -d )"
PLUGIN_FILE="$DIR/Rojo.rbxm"
TESTEZ_FILE="$DIR/TestEZ.rbxm"
rojo build plugin -o "$PLUGIN_FILE"
rojo build plugin/testez.project.json -o "$TESTEZ_FILE"
remodel bin/mark-plugin-as-dev.lua "$PLUGIN_FILE" "$TESTEZ_FILE" 2>/dev/null
cp "$PLUGIN_FILE" "$LOCALAPPDATA/Roblox/Plugins/Rojo.rbxm"