Skip to content

Commit

Permalink
chore: forge init
Browse files Browse the repository at this point in the history
  • Loading branch information
FredCoen committed Mar 21, 2022
0 parents commit 5efbc05
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
cache/
out/
7 changes: 7 additions & 0 deletions foundry.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[default]
src = 'src'
out = 'out'
libs = ['lib']
remappings = ['ds-test/=lib/ds-test/src/']

# See more config options https://github.com/gakonst/foundry/tree/master/config
4 changes: 4 additions & 0 deletions src/Contract.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.10;

contract Contract {}
12 changes: 12 additions & 0 deletions src/test/Contract.t.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.10;

import "ds-test/test.sol";

contract ContractTest is DSTest {
function setUp() public {}

function testExample() public {
assertTrue(true);
}
}

0 comments on commit 5efbc05

Please sign in to comment.