@@ -38,15 +38,15 @@ default:
3838# Complete project setup
3939setup : create-env
4040 @ {{ bun}} install
41- @ echo " ✅ Setup complete!"
41+ @ echo " Setup complete!"
4242
4343# Run all tests
4444test-all : test-hardhat test-foundry
45- @ echo " ✅ All tests completed!"
45+ @ echo " All tests completed!"
4646
4747# Clean build artifacts and dependencies
4848clean :
49- @ echo " 🧹 Cleaning project..."
49+ @ echo " Cleaning project..."
5050 @ rm -rf node_modules
5151 @ rm -rf cache
5252 @ rm -rf cache_hardhat
@@ -57,40 +57,25 @@ clean:
5757 @ rm -rf .hardhat
5858 @ rm -rf artifacts
5959 @ rm -rf types
60- @ echo " ✅ Clean complete!"
60+ @ echo " Clean complete!"
6161
6262# Generate Foundry coverage report
6363foundry-report :
64- @ echo " 📊 Generating Foundry coverage report..."
64+ @ echo " Generating Foundry coverage report..."
6565 @ bash {{ shell_dir}} / foundry-coverage.sh
6666
67- # Deploy contract interactively
68- deploy-contract contract chain :
69- @ echo " Interactive contract deployment"
70- @ if [ -n " {{ contract}} " ] && [ -n " {{ chain}} " ]; then \
71- echo " Deploying contract: {{ contract}} on chain: {{ chain}} " ; \
72- {{ forge}} script {{ scripts_dir}} / {{ contract}} .s.sol \
73- - -broadcast \
74- - -rpc-url " {{ chain}} " \
75- - -verify \
76- - vvvv; \
77- else \
78- echo " ❌ Contract name and chain cannot be empty." ; \
79- exit 1 ; \
80- fi
81-
8267# =============================================================================
8368# NODE.JS VERSION MANAGEMENT
8469# =============================================================================
8570
8671# Setup Node.js version using nvm
8772setup-with-nvm :
88- @ echo " 📦 Using nvm to manage Node.js version..."
73+ @ echo " Using nvm to manage Node.js version..."
8974 @ if {{ nvm}} list | grep -q " {{ node_version}} " ; then \
90- echo " ✅ Node.js {{ node_version}} found, switching to it..." ; \
75+ echo " Node.js {{ node_version}} found, switching to it..." ; \
9176 {{ nvm}} use {{ node_version}} ; \
9277 else \
93- echo " 📥 Installing Node.js {{ node_version}} ..." ; \
78+ echo " Installing Node.js {{ node_version}} ..." ; \
9479 {{ nvm}} install {{ node_version}} ; \
9580 {{ nvm}} use {{ node_version}} ; \
9681 fi
@@ -102,11 +87,11 @@ setup-with-nvm:
10287# Create .env file from template
10388create-env :
10489 @ if [ ! -f ./ .env ]; then \
105- echo " 📄 Creating .env file from template..." ; \
90+ echo " Creating .env file from template..." ; \
10691 cp ./ .env .example ./ .env ; \
107- echo " ✅ .env file created!" ; \
92+ echo " .env file created!" ; \
10893 else \
109- echo " ℹ️ .env file already exists" ; \
94+ echo " .env file already exists" ; \
11095 fi
11196
11297# =============================================================================
@@ -115,12 +100,12 @@ create-env:
115100
116101# Run Hardhat tests
117102test-hardhat :
118- @ echo " 🧪 Running Hardhat tests..."
103+ @ echo " Running Hardhat tests..."
119104 @ {{ bun}} run test
120- @ echo " ✅ Hardhat tests completed!"
105+ @ echo " Hardhat tests completed!"
121106
122107# Run Foundry tests
123108test-foundry :
124- @ echo " 🧪 Running Foundry tests..."
109+ @ echo " Running Foundry tests..."
125110 @ {{ forge}} test
126- @ echo " ✅ Foundry tests completed!"
111+ @ echo " Foundry tests completed!"
0 commit comments