Update all CI scripts and mark as executable

This commit is contained in:
Lucien Greathouse
2019-10-01 18:07:32 -07:00
parent 09368e87cf
commit bdd9c58cae
5 changed files with 28 additions and 1 deletions

0
bin/dev-plugin.sh Normal file → Executable file
View File

0
bin/install-dev-plugin.sh Normal file → Executable file
View File

6
bin/run-all-tests.sh Executable file
View File

@@ -0,0 +1,6 @@
#!/bin/sh
set -e
./bin/run-cli-tests.sh
./bin/run-plugin-tests.sh

9
bin/run-cli-tests.sh Executable file
View File

@@ -0,0 +1,9 @@
#!/bin/sh
set -e
cargo test --all --locked
cargo fmt -- --check
touch src/lib.rs # Nudge Rust source to make Clippy actually check things
cargo clippy

View File

@@ -11,4 +11,16 @@ 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"
run-in-roblox -s plugin/testBootstrap.server.lua "$PLACE_FILE"
pushd plugin
luacheck src
popd
pushd rojo-plugin-http
luacheck src
popd
pushd rojo-plugin-log
luacheck src
popd