gomcaptcha/Makefile

9 lines
247 B
Makefile

build-rust:
@-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/
test:
cd ./mcaptcha-pow-ffi/ && cargo test