「♻️」 refactor: moved lib to code/ folder
This commit is contained in:
4
.gitmodules
vendored
4
.gitmodules
vendored
@ -1,3 +1,3 @@
|
|||||||
[submodule "lib/forge-std"]
|
[submodule "code/lib/forge-std"]
|
||||||
path = lib/forge-std
|
path = code/lib/forge-std
|
||||||
url = https://github.com/foundry-rs/forge-std
|
url = https://github.com/foundry-rs/forge-std
|
||||||
|
3
Justfile
3
Justfile
@ -1,3 +1,6 @@
|
|||||||
# The default one (the one you are seeing right now)
|
# The default one (the one you are seeing right now)
|
||||||
@default:
|
@default:
|
||||||
just -l
|
just -l
|
||||||
|
|
||||||
|
@test:
|
||||||
|
forge test
|
||||||
|
@ -2,9 +2,6 @@
|
|||||||
|
|
||||||
pragma solidity 0.8.28;
|
pragma solidity 0.8.28;
|
||||||
|
|
||||||
import "../../lib/forge-std/src/Test.sol";
|
|
||||||
import { console } from "../lib/forge-std/src/console.sol";
|
|
||||||
|
|
||||||
contract Kanel42_token {
|
contract Kanel42_token {
|
||||||
string public name = "Kanel42";
|
string public name = "Kanel42";
|
||||||
string public symbol = "KNL42";
|
string public symbol = "KNL42";
|
||||||
|
1
code/lib/forge-std
Submodule
1
code/lib/forge-std
Submodule
Submodule code/lib/forge-std added at 8bbcf6e3f8
@ -1,8 +1,8 @@
|
|||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
pragma solidity 0.8.28;
|
pragma solidity 0.8.28;
|
||||||
|
|
||||||
import "../../lib/forge-std/src/Test.sol";
|
import "../lib/forge-std/src/Test.sol";
|
||||||
import { console } from "../../lib/forge-std/src/console.sol";
|
import { console } from "../lib/forge-std/src/console.sol";
|
||||||
import "../Kanel42_token.sol";
|
import "../Kanel42_token.sol";
|
||||||
|
|
||||||
contract Kanel42TokenTest is Test {
|
contract Kanel42TokenTest is Test {
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
src = "code"
|
src = "code"
|
||||||
out = "out"
|
out = "out"
|
||||||
test = "code/test"
|
test = "code/test"
|
||||||
libs = ["node_modules", "lib"]
|
libs = ["node_modules", "code/lib"]
|
||||||
solc = '0.8.28'
|
solc = '0.8.28'
|
||||||
# Enable or disable the optimizer
|
# Enable or disable the optimizer
|
||||||
optimizer = true
|
optimizer = true
|
||||||
|
Submodule lib/forge-std deleted from c7be2a3481
Reference in New Issue
Block a user