1- APP_NAME = review-goose
2- BUNDLE_NAME = Review Goose
1+ APP_NAME = reviewGOOSE
2+ BUNDLE_NAME = reviewGOOSE
33VERSION = 1.0.0
44BUNDLE_VERSION = 1
55BUNDLE_ID = dev.codegroove.r2r
66
77# Version information for builds
88# Try VERSION file first (for release tarballs), then fall back to git
9- VERSION_FILE := $(shell cat cmd/review-goose /VERSION 2>/dev/null)
9+ VERSION_FILE := $(shell cat cmd/reviewGOOSE /VERSION 2>/dev/null)
1010GIT_VERSION := $(shell git describe --tags --always --dirty 2>/dev/null)
1111BUILD_VERSION := $(or $(VERSION_FILE ) ,$(GIT_VERSION ) ,dev)
1212GIT_COMMIT := $(shell git rev-parse --short HEAD 2>/dev/null || echo "unknown")
@@ -51,18 +51,18 @@ ifeq ($(shell uname),Darwin)
5151 @echo "Running $(BUNDLE_NAME) from /Applications..."
5252 @open "/Applications/$(BUNDLE_NAME).app"
5353else
54- go run ./cmd/review-goose
54+ go run ./cmd/reviewGOOSE
5555endif
5656
5757# Build for current platform
5858build : out
5959ifeq ($(OS ) ,Windows_NT)
6060 @echo "Building $(APP_NAME) for Windows..."
61- @CGO_ENABLED=1 go build -ldflags "-H=windowsgui $(LDFLAGS)" -o out/$(APP_NAME).exe ./cmd/review-goose
61+ @CGO_ENABLED=1 go build -ldflags "-H=windowsgui $(LDFLAGS)" -o out/$(APP_NAME).exe ./cmd/reviewGOOSE
6262 @echo "✓ Created: out/$(APP_NAME).exe"
6363else
6464 @echo "Building $(APP_NAME) for $(shell uname -s)/$(shell uname -m)..."
65- @CGO_ENABLED=1 go build -ldflags "$(LDFLAGS)" -o out/$(APP_NAME) ./cmd/review-goose
65+ @CGO_ENABLED=1 go build -ldflags "$(LDFLAGS)" -o out/$(APP_NAME) ./cmd/reviewGOOSE
6666 @echo "✓ Created: out/$(APP_NAME)"
6767endif
6868
@@ -72,30 +72,30 @@ build-all: build-darwin build-linux build-windows
7272# Build for macOS (both architectures)
7373build-darwin : out
7474 @echo " Building $( APP_NAME) for darwin/amd64..."
75- @CGO_ENABLED=1 GOOS=darwin GOARCH=amd64 go build -ldflags " $( LDFLAGS) " -o out/$(APP_NAME ) -darwin-amd64 ./cmd/review-goose
75+ @CGO_ENABLED=1 GOOS=darwin GOARCH=amd64 go build -ldflags " $( LDFLAGS) " -o out/$(APP_NAME ) -darwin-amd64 ./cmd/reviewGOOSE
7676 @echo " ✓ Created: out/$( APP_NAME) -darwin-amd64"
7777 @echo " Building $( APP_NAME) for darwin/arm64..."
78- @CGO_ENABLED=1 GOOS=darwin GOARCH=arm64 go build -ldflags " $( LDFLAGS) " -o out/$(APP_NAME ) -darwin-arm64 ./cmd/review-goose
78+ @CGO_ENABLED=1 GOOS=darwin GOARCH=arm64 go build -ldflags " $( LDFLAGS) " -o out/$(APP_NAME ) -darwin-arm64 ./cmd/reviewGOOSE
7979 @echo " ✓ Created: out/$( APP_NAME) -darwin-arm64"
8080
8181# Build for Linux (both architectures)
8282# Note: CGO cross-compilation requires appropriate cross-compiler toolchain
8383build-linux : out
8484 @echo " Building $( APP_NAME) for linux/amd64..."
85- @CGO_ENABLED=1 GOOS=linux GOARCH=amd64 go build -ldflags " $( LDFLAGS) " -o out/$(APP_NAME ) -linux-amd64 ./cmd/review-goose
85+ @CGO_ENABLED=1 GOOS=linux GOARCH=amd64 go build -ldflags " $( LDFLAGS) " -o out/$(APP_NAME ) -linux-amd64 ./cmd/reviewGOOSE
8686 @echo " ✓ Created: out/$( APP_NAME) -linux-amd64"
8787 @echo " Building $( APP_NAME) for linux/arm64..."
88- @CGO_ENABLED=1 GOOS=linux GOARCH=arm64 go build -ldflags " $( LDFLAGS) " -o out/$(APP_NAME ) -linux-arm64 ./cmd/review-goose
88+ @CGO_ENABLED=1 GOOS=linux GOARCH=arm64 go build -ldflags " $( LDFLAGS) " -o out/$(APP_NAME ) -linux-arm64 ./cmd/reviewGOOSE
8989 @echo " ✓ Created: out/$( APP_NAME) -linux-arm64"
9090
9191# Build for Windows (both architectures)
9292# Note: CGO cross-compilation requires appropriate cross-compiler toolchain
9393build-windows : out
9494 @echo " Building $( APP_NAME) for windows/amd64..."
95- @CGO_ENABLED=1 GOOS=windows GOARCH=amd64 go build -ldflags " -H=windowsgui $( LDFLAGS) " -o out/$(APP_NAME ) -windows-amd64.exe ./cmd/review-goose
95+ @CGO_ENABLED=1 GOOS=windows GOARCH=amd64 go build -ldflags " -H=windowsgui $( LDFLAGS) " -o out/$(APP_NAME ) -windows-amd64.exe ./cmd/reviewGOOSE
9696 @echo " ✓ Created: out/$( APP_NAME) -windows-amd64.exe"
9797 @echo " Building $( APP_NAME) for windows/arm64..."
98- @CGO_ENABLED=1 GOOS=windows GOARCH=arm64 go build -ldflags " -H=windowsgui $( LDFLAGS) " -o out/$(APP_NAME ) -windows-arm64.exe ./cmd/review-goose
98+ @CGO_ENABLED=1 GOOS=windows GOARCH=arm64 go build -ldflags " -H=windowsgui $( LDFLAGS) " -o out/$(APP_NAME ) -windows-arm64.exe ./cmd/reviewGOOSE
9999 @echo " ✓ Created: out/$( APP_NAME) -windows-arm64.exe"
100100
101101# Clean build artifacts
@@ -119,7 +119,7 @@ $(APPIFY_BIN):
119119install-appify : $(APPIFY_BIN )
120120
121121# Internal helper to create app bundle from a binary
122- # Usage: make _create-app-bundle BUNDLE_BINARY=review-goose
122+ # Usage: make _create-app-bundle BUNDLE_BINARY=reviewGOOSE
123123define create-app-bundle
124124 @echo "Removing old app bundle..."
125125 @rm -rf "out/$(BUNDLE_NAME ) .app"
@@ -162,8 +162,8 @@ define create-app-bundle
162162 /usr/libexec/PlistBuddy -c "Set :CFBundleShortVersionString $(BUILD_VERSION ) " "out/$(BUNDLE_NAME ) .app/Contents/Info.plist"
163163 @/usr/libexec/PlistBuddy -c "Add :CFBundleVersion string $(BUILD_VERSION ) " "out/$(BUNDLE_NAME ) .app/Contents/Info.plist" 2>/dev/null || \
164164 /usr/libexec/PlistBuddy -c "Set :CFBundleVersion $(BUILD_VERSION ) " "out/$(BUNDLE_NAME ) .app/Contents/Info.plist"
165- @/usr/libexec/PlistBuddy -c "Add :CFBundleGetInfoString string 'Review Goose $(BUILD_VERSION ) '" "out/$(BUNDLE_NAME ) .app/Contents/Info.plist" 2>/dev/null || \
166- /usr/libexec/PlistBuddy -c "Set :CFBundleGetInfoString 'Review Goose $(BUILD_VERSION ) '" "out/$(BUNDLE_NAME ) .app/Contents/Info.plist"
165+ @/usr/libexec/PlistBuddy -c "Add :CFBundleGetInfoString string 'reviewGOOSE $(BUILD_VERSION ) '" "out/$(BUNDLE_NAME ) .app/Contents/Info.plist" 2>/dev/null || \
166+ /usr/libexec/PlistBuddy -c "Set :CFBundleGetInfoString 'reviewGOOSE $(BUILD_VERSION ) '" "out/$(BUNDLE_NAME ) .app/Contents/Info.plist"
167167
168168 @echo "Code signing the app bundle..."
169169 @xattr -cr "out/$(BUNDLE_NAME ) .app"
@@ -320,8 +320,8 @@ release:
320320 @echo " → Running linters..."
321321 @$(MAKE ) lint
322322 @echo " Creating VERSION file..."
323- @echo " $( VERSION) " > cmd/review-goose /VERSION
324- @git add cmd/review-goose /VERSION
323+ @echo " $( VERSION) " > cmd/reviewGOOSE /VERSION
324+ @git add cmd/reviewGOOSE /VERSION
325325 @if [ -n " $$ (git diff --cached --name-only)" ]; then \
326326 git commit -m " Release $( VERSION) " ; \
327327 fi
0 commit comments