-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
36 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
Contributing to OpenZeppelin Foundry Upgrades | ||
======= | ||
|
||
Contributions to OpenZeppelin Foundry Upgrades are welcome. Please review the information below to test out and contribute your changes. | ||
|
||
## Building and testing the project | ||
|
||
### Prerequisites | ||
The following prerequisites are required to build the project locally: | ||
- [Node.js](https://nodejs.org/) | ||
- [Yarn](https://yarnpkg.com/getting-started/install) | ||
- [Foundry](https://book.getfoundry.sh/getting-started/installation) | ||
|
||
After the prerequisites are installed, the commands below can be run from this project's root directory. | ||
|
||
### Installing dependencies | ||
```yarn install``` | ||
|
||
The dependencies must be installed at least once before running the tests or linter. | ||
|
||
### Running tests | ||
```yarn test``` | ||
|
||
Ensure that all tests pass. If you are adding new functionality, include testcases as appropriate. | ||
|
||
### Running linter | ||
```yarn lint``` | ||
|
||
If linting errors or warnings occur, run `yarn lint:fix` to attempt to auto-fix issues. If there are remaining issues that cannot be auto-fixed, manually address them and re-run the command to ensure it passes. | ||
|
||
## Creating Pull Requests (PRs) | ||
|
||
As a contributor, we ask that you fork this repository, work on your own fork and then submit pull requests. The pull requests will be reviewed and eventually merged into the main repo. See ["Fork-a-Repo"](https://help.github.com/articles/fork-a-repo/) for how this works. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters