-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
55 lines (46 loc) · 1.27 KB
/
Copy pathMakefile
File metadata and controls
55 lines (46 loc) · 1.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Crypto Wallet Makefile
.PHONY: all build clean install deps dev test help
# Default target
all: deps build
# Install dependencies
deps:
@echo "📦 Installing dependencies..."
@./scripts/install-deps.sh
# Build the project
build:
@echo "🔨 Building project..."
@./scripts/build.sh
# Clean build artifacts
clean:
@echo "Cleaning build artifacts..."
@rm -rf backend/build/
@rm -rf frontend/dist/
@rm -rf frontend/node_modules/
@rm -rf node_modules/
# Install the application
install: build
@echo "📦 Installing application..."
@cd backend/build && sudo make install
# Start development environment
dev:
@echo "🚀 Starting development environment..."
@./scripts/dev.sh
# Run tests
test:
@echo "🧪 Running tests..."
@cd backend/build && make test
@cd frontend && npm test
# Show help
help:
@echo "Crypto Wallet - Available commands:"
@echo ""
@echo " make deps - Install all dependencies"
@echo " make build - Build the project"
@echo " make clean - Clean build artifacts"
@echo " make install - Install the application"
@echo " make dev - Start development environment"
@echo " make test - Run tests"
@echo " make help - Show this help message"
@echo ""
@echo "Quick start:"
@echo " make deps && make build && make dev"