「♻️」 refactor: moved lib to code/ folder

This commit is contained in:
KeyZox committed 2025-08-07 19:21:54 +02:00
1 parent 2baaac9e8f
commit 3911cc5d0a
7 files changed
+9 -9

No files matched your search

+2 -2
View File
@@ -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
View File
@@ -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
-3
View File
@@ -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";
Submodule code/lib/forge-std added at 8bbcf6e3f8.
+2 -2
View File
@@ -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 {
+1 -1
View File
@@ -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.