-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathMakefile
More file actions
41 lines (35 loc) Β· 893 Bytes
/
Makefile
File metadata and controls
41 lines (35 loc) Β· 893 Bytes
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
.PHONY: generate build run clean
# Generate the Xcode project from project.yml
generate:
xcodegen generate
# Build the app in Release mode
build: generate
xcodebuild \
-project ClaudeGod.xcodeproj \
-scheme ClaudeGod \
-configuration Release \
-derivedDataPath build \
CODE_SIGN_IDENTITY="-" \
CODE_SIGNING_REQUIRED=NO \
CODE_SIGNING_ALLOWED=NO
# Open in Xcode
open: generate
open ClaudeGod.xcodeproj
# Build and run
run: build
open "build/Build/Products/Release/Claude God.app"
# Create a DMG
dmg: build
mkdir -p dmg-contents
cp -R "build/Build/Products/Release/Claude God.app" dmg-contents/
ln -sf /Applications dmg-contents/Applications
hdiutil create \
-volname "Claude God" \
-srcfolder dmg-contents \
-ov \
-format UDZO \
ClaudeGod.dmg
rm -rf dmg-contents
# Clean build artifacts
clean:
rm -rf build ClaudeGod.xcodeproj ClaudeGod.dmg dmg-contents