xermicus / revive

Solidity compiler for PolkaVM
Apache License 2.0
16 stars 4 forks source link

feat: streamline bin updates during developement #5

Closed 0xf333 closed 5 months ago

0xf333 commented 5 months ago

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.

Usage

To install the project dependencies, run:

make install

To clean the project directory from all build artifacts and dependencies, run:

make clean

To run integration tests, use

make test-integration

To run the project's tests, ( both Rust and npm tests ) use:

make test

To run only solidity crate test, use:

make test-solidity

To run only the CLI tests, use:

make test-cli
0xf333 commented 5 months ago

@xermicus

0xf333 commented 5 months ago

WDYT?

Yep, that would be more simple, I'm making the change now

0xf333 commented 5 months ago

Just have a last small nit, otherwise LGTM!

commit pushed