clean up
This commit is contained in:
parent
4675fee4a3
commit
cc6e1d80bf
3 changed files with 4 additions and 60 deletions
15
Makefile
15
Makefile
|
|
@ -1,4 +1,4 @@
|
|||
.PHONY: all build run clean install dev test test-proxy test-coverage
|
||||
.PHONY: all build run clean install dev
|
||||
|
||||
# Default target
|
||||
all: install build
|
||||
|
|
@ -43,19 +43,6 @@ clean:
|
|||
rm -f requests.db
|
||||
rm -rf requests/
|
||||
|
||||
# Testing
|
||||
test: test-proxy
|
||||
|
||||
test-proxy:
|
||||
@echo "🧪 Running proxy tests..."
|
||||
cd proxy && go test -v ./...
|
||||
|
||||
test-coverage:
|
||||
@echo "📊 Running tests with coverage..."
|
||||
cd proxy && go test -v -coverprofile=coverage.out ./...
|
||||
cd proxy && go tool cover -html=coverage.out -o coverage.html
|
||||
@echo "📊 Coverage report generated: proxy/coverage.html"
|
||||
|
||||
# Database operations
|
||||
db-reset:
|
||||
@echo "🗑️ Resetting database..."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue