mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-20 17:41:37 +00:00
Improve plugin test running, reducing project duplication
This commit is contained in:
parent
581449d992
commit
fe1a96f850
3 changed files with 19 additions and 40 deletions
|
|
@ -1,6 +1,14 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -ev
|
||||
set -e
|
||||
|
||||
rojo build plugin/place.project.json -o PluginPlace.rbxlx
|
||||
run-in-roblox -s plugin/testBootstrap.server.lua PluginPlace.rbxlx
|
||||
DIR="$( mktemp -d )"
|
||||
PLUGIN_FILE="$DIR/Rojo.rbxmx"
|
||||
PLACE_FILE="$DIR/RojoTestPlace.rbxlx"
|
||||
|
||||
rojo build plugin -o "$PLUGIN_FILE"
|
||||
rojo build plugin/place.project.json -o "$PLACE_FILE"
|
||||
|
||||
remodel bin/put-plugin-in-test-place.lua "$PLUGIN_FILE" "$PLACE_FILE"
|
||||
|
||||
run-in-roblox -s plugin/testBootstrap.server.lua "$PLACE_FILE"
|
||||
Loading…
Add table
Add a link
Reference in a new issue