gomcaptcha/Makefile

16 lines
306 B
Makefile
Raw Normal View History

2024-01-08 04:41:18 +05:30
rust.build:
@-rm -rf lib
mkdir lib/
cd ./mcaptcha-pow-ffi/ && cargo build --release \
&& cp ./target/release/libmcaptcha_pow_ffi.a ../lib/ \
&& cp ./target/release/libmcaptcha_pow_ffi.so ../lib/
2024-01-08 04:41:18 +05:30
rust.test:
cd ./mcaptcha-pow-ffi/ && cargo test
example:
go run examples/main.go ^C
test:
go test