Skip to content

Commit bc3eafb

Browse files
committed
fix(check.sh): make it more portable
adjust the pattern to match output lib path, and add shebang to ensure which shell to use.
1 parent d3924de commit bc3eafb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

check.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/bin/bash
2+
13
# Small utility to run tests locally
24
# Similar to minimal-ci
35

@@ -77,7 +79,7 @@ for arg in "${args[@]}"; do
7779
itest)
7880
findGodot
7981
cmds+=("cargo build --manifest-path test/Cargo.toml --features $features")
80-
cmds+=("cp target/debug/gdnative_test* test/project/lib/")
82+
cmds+=("cp target/debug/*gdnative_test* test/project/lib/")
8183
cmds+=("$godotBin --path test/project")
8284
;;
8385
doc)

0 commit comments

Comments
 (0)