chore: makefile and CI test

This commit is contained in:
iff 2025-04-05 00:14:48 +02:00
parent 5a4ef05828
commit 4f637c1e1b
2 changed files with 27 additions and 4 deletions

23
Makefile Normal file
View file

@ -0,0 +1,23 @@
build:
cargo build
release:
cargo build --release
test-rust: build
cargo test --verbose
install:
echo "Installing pay-respects core. Use `install-all` to install all modules."
cargo install --path core
install-all:
echo "Installing pay-respects core and all modules."
cargo install --path core
cargo install --path module-runtime-rules
cargo install --path module-request-ai
test-suggestions: build
cd tests && bash main.sh
test: test-rust test-suggestions