@@ -27,31 +27,31 @@ all: bin/git-sizer.exe
2727
2828# Main binary target - depend on all Go source files
2929bin/git-sizer.exe: $(GO_SRC_FILES)
30- $(PWSH) "if (-not (Test-Path bin)) { New-Item -ItemType Directory -Path bin | Out-Null }"
31- $(GO) build $(GOFLAGS) -ldflags "$(LDFLAGS)" -a -o .\bin\git-sizer.exe .
30+ $(PWSH) "if (-not (Test-Path bin)) { New-Item -ItemType Directory -Path bin | Out-Null }"
31+ $(GO) build $(GOFLAGS) -ldflags "$(LDFLAGS)" -a -o .\bin\git-sizer.exe .
3232
3333# Test target - explicitly run the build first to ensure binary is up to date
3434test:
35- @$(MAKE) -f Makefile.win bin/git-sizer.exe
36- @$(MAKE) -f Makefile.win gotest
35+ @$(MAKE) -f Makefile.win bin/git-sizer.exe
36+ @$(MAKE) -f Makefile.win gotest
3737
3838# Run go tests
3939gotest:
40- $(GO) test -timeout 60s $(GOFLAGS) -ldflags "$(LDFLAGS)" ./...
40+ $(GO) test -timeout 60s $(GOFLAGS) -ldflags "$(LDFLAGS)" ./...
4141
4242# Clean up builds
4343clean:
44- $(PWSH) "if (Test-Path bin) { Remove-Item -Recurse -Force bin }"
44+ $(PWSH) "if (Test-Path bin) { Remove-Item -Recurse -Force bin }"
4545
4646# Help target
4747help:
48- $(PWSH) "Write-Host 'Windows Makefile for git-sizer' -ForegroundColor Cyan"
49- $(PWSH) "Write-Host ''"
50- $(PWSH) "Write-Host 'Targets:' -ForegroundColor Green"
51- $(PWSH) "Write-Host ' all - Build git-sizer (default)'"
52- $(PWSH) "Write-Host ' test - Run tests'"
53- $(PWSH) "Write-Host ' clean - Clean build artifacts'"
54- $(PWSH) "Write-Host ''"
55- $(PWSH) "Write-Host 'Example usage:' -ForegroundColor Green"
56- $(PWSH) "Write-Host ' nmake -f Makefile.win'"
57- $(PWSH) "Write-Host ' nmake -f Makefile.win test'"
48+ $(PWSH) "Write-Host 'Windows Makefile for git-sizer' -ForegroundColor Cyan"
49+ $(PWSH) "Write-Host ''"
50+ $(PWSH) "Write-Host 'Targets:' -ForegroundColor Green"
51+ $(PWSH) "Write-Host ' all - Build git-sizer (default)'"
52+ $(PWSH) "Write-Host ' test - Run tests'"
53+ $(PWSH) "Write-Host ' clean - Clean build artifacts'"
54+ $(PWSH) "Write-Host ''"
55+ $(PWSH) "Write-Host 'Example usage:' -ForegroundColor Green"
56+ $(PWSH) "Write-Host ' make -f Makefile.win'"
57+ $(PWSH) "Write-Host ' make -f Makefile.win test'"
0 commit comments