Skip to content

Commit

Permalink
Add foundry config (#99)
Browse files Browse the repository at this point in the history
* chore: forge init

* forge install: forge-std

v1.6.1

* Revert README.md change

* Add out/ to gitignore

* Remove boilerplate foundry

* forge install: openzeppelin-contracts

v4.9.3

* Change to foundry-out in gitignore

* Remove openzeppelin forge dependency
  • Loading branch information
Benjimmutable authored Sep 27, 2023
1 parent 494e2c9 commit 22ff3e0
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,7 @@ cache
artifacts

# Build files
dist/
dist/

# Forge files
foundry-out/
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "lib/forge-std"]
path = lib/forge-std
url = https://github.com/foundry-rs/forge-std
6 changes: 6 additions & 0 deletions foundry.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[profile.default]
src = 'contracts'
out = 'foundry-out'
libs = ["lib", "node_modules"]

# See more config options https://github.com/foundry-rs/foundry/blob/master/crates/config/README.md#all-options
1 change: 1 addition & 0 deletions lib/forge-std
Submodule forge-std added at 1d9650

0 comments on commit 22ff3e0

Please sign in to comment.