mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-04-25 07:06:12 +00:00
Update all CI scripts and mark as executable
This commit is contained in:
0
bin/dev-plugin.sh
Normal file → Executable file
0
bin/dev-plugin.sh
Normal file → Executable file
0
bin/install-dev-plugin.sh
Normal file → Executable file
0
bin/install-dev-plugin.sh
Normal file → Executable file
6
bin/run-all-tests.sh
Executable file
6
bin/run-all-tests.sh
Executable 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
9
bin/run-cli-tests.sh
Executable 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
|
||||||
@@ -12,3 +12,15 @@ rojo build plugin/place.project.json -o "$PLACE_FILE"
|
|||||||
remodel bin/put-plugin-in-test-place.lua "$PLUGIN_FILE" "$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
|
||||||
Reference in New Issue
Block a user