1
0

♻️」 refactor: moved lib to code/ folder

This commit is contained in:
2025-08-07 19:21:54 +02:00
parent 2baaac9e8f
commit 3911cc5d0a
7 changed files with 9 additions and 9 deletions

4
.gitmodules vendored
View File

@ -1,3 +1,3 @@
[submodule "lib/forge-std"]
path = lib/forge-std
[submodule "code/lib/forge-std"]
path = code/lib/forge-std
url = https://github.com/foundry-rs/forge-std

View File

@ -1,3 +1,6 @@
# The default one (the one you are seeing right now)
@default:
just -l
@test:
forge test

View File

@ -2,9 +2,6 @@
pragma solidity 0.8.28;
import "../../lib/forge-std/src/Test.sol";
import { console } from "../lib/forge-std/src/console.sol";
contract Kanel42_token {
string public name = "Kanel42";
string public symbol = "KNL42";

1
code/lib/forge-std Submodule

Submodule code/lib/forge-std added at 8bbcf6e3f8

View File

@ -1,8 +1,8 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.28;
import "../../lib/forge-std/src/Test.sol";
import { console } from "../../lib/forge-std/src/console.sol";
import "../lib/forge-std/src/Test.sol";
import { console } from "../lib/forge-std/src/console.sol";
import "../Kanel42_token.sol";
contract Kanel42TokenTest is Test {

View File

@ -2,7 +2,7 @@
src = "code"
out = "out"
test = "code/test"
libs = ["node_modules", "lib"]
libs = ["node_modules", "code/lib"]
solc = '0.8.28'
# Enable or disable the optimizer
optimizer = true

Submodule lib/forge-std deleted from c7be2a3481