Remove plans/ directory (P0/P1/P2 work complete)

This commit is contained in:
2026-05-27 02:12:21 -05:00
parent 0c1840d223
commit 0dbb2e02ed
33 changed files with 1906 additions and 990 deletions
+27 -8
View File
@@ -1,7 +1,8 @@
run: build ## Run the application
@dist/default_windows_amd64_v1/steamcache2.exe
run-debug: build ## Run the application with debug logging
@dist/default_windows_amd64_v1/steamcache2.exe --log-level debug
run: ## Run the application (cross-platform; uses go run for dev on Linux/macOS/Windows)
@go run .
run-debug: ## Run the application with debug logging (cross-platform)
@go run . --log-level debug
build: deps ## Build a snapshot of the application for the current platform (uses -short for fast feedback)
@go test -short -v ./...
@@ -13,16 +14,34 @@ test: deps ## Run all tests
test-race: deps ## Run all tests with the race detector
@go test -race -shuffle=on -timeout=5m -v ./...
lint: deps check-review-labels ## Run golangci-lint + review label hygiene check
@golangci-lint run ./...
check-review-labels: ## Fail if temporary review labels (P0-01, T1, I3, R2, etc.) are found in source
@! grep -rnE '\b[A-Z][0-9][^a-zA-Z]' --include='*.go' . 2>/dev/null | grep -v 'G[0-9]\{3\}' || (echo "Error: Found temporary review labels (P*, T*, I*, etc.) in source. See plans/README.md for the rule." && exit 1)
deps: ## Download dependencies
@go mod tidy
clean: ## Remove build artifacts and test cache
@rm -rf bin/ dist/ *.test coverage.out steamcache2
bench: deps ## Run benchmarks (with timer hygiene + allocs; optional in CI)
@echo "Running key benchmarks (use -benchmem for more)..."
@go test -bench=BenchmarkMemoryFS_CreateOpen -benchmem -run=^$ ./vfs/memory
@go test -bench=BenchmarkDiskFS_CreateOpen -benchmem -run=^$ ./vfs/disk
@go test -bench=BenchmarkEvictionUnderPressure -benchmem -run=^$ ./vfs/memory
@echo "Bench done. Add -bench=. for all."
help: ## Show this help message
@echo steamcache2 Makefile
@echo Available targets:
@echo run Run the application
@echo run-debug Run the application with debug logging
@echo build Build the application
@echo run Run the application (cross-platform via go run)
@echo run-debug Run the application with debug logging (cross-platform)
@echo build Build the application (goreleaser snapshot)
@echo test Run all tests
@echo test-race Run all tests with the race detector
@echo deps Download dependencies
@echo lint Run golangci-lint + review label check
@echo check-review-labels Fail on temporary review labels (P*, T*, I*, R*, etc.)
@echo deps Download dependencies
@echo clean Remove build/test artifacts