gomcaptcha/Makefile
Aravinth Manivannan 8b202e5363
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
feat: run go tests in CI
2024-01-08 04:41:18 +05:30

15 lines
306 B
Makefile

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/
rust.test:
cd ./mcaptcha-pow-ffi/ && cargo test
example:
go run examples/main.go ^C
test:
go test