mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-04-22 06:48:03 +00:00
7623f6f7fa
Signed-off-by: xermicus <cyrill@parity.io>
28 lines
588 B
Makefile
28 lines
588 B
Makefile
.PHONY: install test test-solidity test-cli test-integration clean
|
|
|
|
install: install-bin install-npm
|
|
|
|
install-bin:
|
|
cargo install --path crates/solidity
|
|
|
|
install-npm:
|
|
npm install && npm fund
|
|
|
|
test: install test-integration test-cli test-solidity
|
|
|
|
test-integration: install-bin
|
|
cargo test --package revive-integration
|
|
|
|
test-solidity: install
|
|
cargo test --package revive-solidity
|
|
|
|
test-cli: install
|
|
npm run test:cli
|
|
|
|
clean:
|
|
cargo clean ; \
|
|
rm -rf node_modules ; \
|
|
rm -rf crates/solidity/src/tests/cli-tests/artifacts ; \
|
|
cargo uninstall revive-solidity ; \
|
|
rm -f package-lock.json
|