Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 2 additions & 18 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,29 +14,13 @@ check:
test:
swift test

release_local:
release:
swift build -c release
rm -rf .release
mkdir -p .release
cp .build/release/$(BUILD_PRODUCT) .release/$(EXECUTABLE)

release_nosign:
swift build --arch x86_64 -c release
swift build --arch arm64 -c release
rm -rf .release
mkdir -p .release
lipo -create \
.build/arm64-apple-macosx/release/$(BUILD_PRODUCT) \
.build/x86_64-apple-macosx/release/$(BUILD_PRODUCT) \
-output .release/$(EXECUTABLE)

release: release_nosign
codesign --force --sign "Developer ID Application: Wojciech Kulik ($$XCODE_DEVELOPMENT_TEAM)" --options runtime .release/xcp
codesign -vvv --strict .release/$(EXECUTABLE)
zip -j .release/$(EXECUTABLE).zip .release/$(EXECUTABLE)
shasum -a 256 .release/$(EXECUTABLE).zip | cut -d' ' -f1 | tr -d '\n' | pbcopy

install: release_local
install: release
cp .release/$(EXECUTABLE) ~/.local/bin/$(EXECUTABLE)

make uninstall:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

# XcodeProjectCLI

A fast, lightweight command-line tool for managing Xcode projects - built entirely in Swift.
A fast, lightweight command-line tool for managing Xcode projects, built entirely in Swift.

Easily integrate it into your development workflow or automate complex refactoring tasks with just a few commands.

Expand Down Expand Up @@ -56,7 +56,7 @@ ASSETS SUBCOMMANDS:
## 📦 Installation

```bash
brew install wojciech-kulik/tap/xcp
brew install xcp
```

## 🛠️ Building from Source
Expand Down