We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 73c9cb2 commit 6419b36Copy full SHA for 6419b36
1 file changed
Makefile
@@ -12,6 +12,8 @@ RUST_LIB_WINDOWS_LIB = $(RUST_DIR)/target/release/rpc.dll.lib
12
# build Rust library
13
RUST_BUILD_CMD = cargo build --release
14
15
+RUST_TEST_CMD = cargo test
16
+
17
allLinux: build_rust copy_libs_linux run_go
18
19
allWindows: build_rust copy_libs_windows run_go
@@ -37,6 +39,10 @@ run_rust:
37
39
@echo "Running Rust code..."
38
40
cd $(RUST_DIR) && cargo run
41
42
+test_rust:
43
+ @echo "Running Rust unit tests..."
44
+ cd $(RUST_DIR) && $(RUST_TEST_CMD)
45
46
clean:
47
@echo "Cleaning up..."
48
rm -rf $(RUST_DIR)/target
0 commit comments