mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-10-20 18:56:17 +00:00
feat: streamline bin updates during developement (#5)
* feat: streamline bin updates during developement Description =========== This PR introduces a way for the 'zksolc' binary to automatically be updated/copied to '.cargo/bin' after each build to resolves the issue of having to manually update the $PATH or each time keep running `cargo install --path crates/solidity`, which was a recurring annoyance during testing and development. Co-authored-by: Cyrill Leutwiler <bigcyrill@hotmail.com>
This commit is contained in:
1 parent
b3b4f4c9ae
commit
3fbf2833c2
2 files changed
+24
-1
No files matched your search
@@ -0,0 +1,23 @@
|
||||
.PHONY: install test test-solidity test-cli test-integration clean
|
||||
|
||||
install:
|
||||
cargo install --path crates/solidity && \
|
||||
npm install && npm fund
|
||||
|
||||
test: install test-integration test-cli test-solidity
|
||||
|
||||
test-integration: install
|
||||
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
|
||||
Reference in new issue
Block a user