Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: pre release fixes #53

Merged
merged 2 commits into from
Apr 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
[![Version](https://img.shields.io/npm/v/@defi-wonderland/smock-foundry?label=Version)](https://www.npmjs.com/package/@defi-wonderland/smock-foundry)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/defi-wonderland/prophet-sdk/blob/main/LICENSE)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/defi-wonderland/smock-foundry/blob/dev/LICENSE)

# Smock Foundry

A plugin for [foundry](https://github.com/foundry-rs/foundry) that automatically generates Solidity mocks for every contract in your project.

## Features
Expand Down Expand Up @@ -31,12 +32,12 @@ yarn smock-foundry --contracts solidity/contracts

The `smock-foundry` command accepts the following options:

Option | Default | Notes
------------|-----------------------------------|-------
`contracts` | — | The path to the solidity contracts to mock
`root` | `.` | The path to the root of the project
`mocks ` | `./test/smock` | The path to the generated mock contracts
`ignore` | [] | A list of directories to ignore, e.g. `--ignore libraries`
| Option | Default | Notes |
| ----------- | -------------- | ---------------------------------------------------------- |
| `contracts` | — | The path to the solidity contracts to mock |
| `root` | `.` | The path to the root of the project |
| `mocks ` | `./test/smock` | The path to the generated mock contracts |
| `ignore` | [] | A list of directories to ignore, e.g. `--ignore libraries` |

Be sure to `gitignore` the generated smock directory.

Expand Down
6 changes: 0 additions & 6 deletions nodemon.json

This file was deleted.

Loading