791d051537
* Add Makefile to make running all checks easier locally * Different workshare calculation for active vs rewarded set * Rework omega calculation, update tests * Remove ZERO const * unym -> DENOM Co-authored-by: Drazen Urch <durch@users.noreply.guthub.com>
36 lines
645 B
Makefile
36 lines
645 B
Makefile
all: clippy test fmt
|
|
clippy: clippy-main clippy-contracts clippy-wallet
|
|
test: test-main test-contracts test-wallet
|
|
fmt: fmt-main fmt-contracts fmt-wallet
|
|
|
|
clippy-main:
|
|
cargo clippy
|
|
|
|
clippy-contracts:
|
|
cargo clippy --manifest-path contracts/Cargo.toml
|
|
|
|
clippy-wallet:
|
|
cargo clippy --manifest-path nym-wallet/Cargo.toml
|
|
|
|
test-main:
|
|
cargo test
|
|
|
|
test-contracts:
|
|
cargo test --manifest-path contracts/Cargo.toml
|
|
|
|
test-wallet:
|
|
cargo test --manifest-path nym-wallet/Cargo.toml
|
|
|
|
fmt-main:
|
|
cargo fmt --all
|
|
|
|
fmt-contracts:
|
|
cargo fmt --manifest-path contracts/Cargo.toml --all
|
|
|
|
fmt-wallet:
|
|
cargo fmt --manifest-path nym-wallet/Cargo.toml --all
|
|
|
|
|
|
|
|
|