Skip to content

Commit 13f14c3

Browse files
committed
dont' copy caddy files to project dir
1 parent 20b97a0 commit 13f14c3

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/warnet/network.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66

77
from .bitcoin import _rpc
88
from .constants import (
9-
CHARTS_DIR,
10-
DEFAULT_NETWORK,
119
NETWORK_DIR,
1210
SCENARIOS_DIR,
1311
)
@@ -43,15 +41,6 @@ def copy_network_defaults(directory: Path):
4341
NETWORK_DIR,
4442
["node-defaults.yaml", "__pycache__", "__init__.py"],
4543
)
46-
# Copy caddy files to the network directory
47-
networks_dir = directory / NETWORK_DIR.name
48-
copy_caddy_files(networks_dir / DEFAULT_NETWORK)
49-
50-
51-
def copy_caddy_files(directory: Path):
52-
"""Copy caddy files to the specified directory"""
53-
copy_defaults(directory, "caddy", CHARTS_DIR.joinpath("caddy"), [])
54-
print(f"Copied caddy files to {directory / 'caddy'}")
5544

5645

5746
def copy_scenario_defaults(directory: Path):

0 commit comments

Comments
 (0)