You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

108 lines
2.5 KiB

name: DropTwo
options:
bundleIdPrefix: dev.zielke
createIntermediateGroups: true
deploymentTarget:
macOS: "13.0"
settings:
base:
SWIFT_VERSION: "5.9"
MARKETING_VERSION: "0.1.0"
CURRENT_PROJECT_VERSION: "1"
configs:
Debug:
# Ad-hoc-Signatur: laeuft lokal auf dem eigenen Rechner, braucht keine Team-ID.
CODE_SIGN_STYLE: Automatic
CODE_SIGN_IDENTITY: "-"
Release:
ENABLE_HARDENED_RUNTIME: YES # Pflicht fuer die Notarisierung
CODE_SIGN_STYLE: Manual
CODE_SIGN_IDENTITY: "Developer ID Application"
DEVELOPMENT_TEAM: XY4C2RG3L5
packages:
Sparkle:
url: https://github.com/sparkle-project/Sparkle
from: "2.10.0"
targets:
# Kern ohne jede UI-Abhaengigkeit -- von App und CLI gemeinsam genutzt.
DropTwoCore:
type: framework
platform: macOS
sources:
- Sources/DropTwoCore
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: dev.zielke.droptwo.core
GENERATE_INFOPLIST_FILE: YES
DropTwo:
type: application
platform: macOS
sources:
- Sources/DropTwo
dependencies:
- target: DropTwoCore
- package: Sparkle
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: dev.zielke.droptwo
PRODUCT_NAME: drop.two
ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon
info:
path: Sources/DropTwo/Info.plist
properties:
CFBundleName: drop.two
CFBundleDisplayName: drop.two
LSMinimumSystemVersion: "13.0"
LSUIElement: false # true = reiner Menu-Bar-Betrieb ohne Dock-Icon
NSHumanReadableCopyright: "(c) Samuel Zielke"
SUFeedURL: https://update.zielke.studio/droptwo/appcast.xml
SUPublicEDKey: 2Oe3MbYRBVMMm0EtwTdZaHVKGOOIzgBWfI94CFkPQOg=
SUEnableAutomaticChecks: true
# Pruefstein fuer den Kern: echte Datei durchjagen, bevor Oberflaeche entsteht.
droptwo-cli:
type: tool
platform: macOS
sources:
- Sources/DropTwoCLI
dependencies:
- target: DropTwoCore
settings:
base:
PRODUCT_NAME: droptwo
DropTwoCoreTests:
type: bundle.unit-test
platform: macOS
sources:
- Tests/DropTwoCoreTests
dependencies:
- target: DropTwoCore
settings:
base:
GENERATE_INFOPLIST_FILE: YES
schemes:
DropTwo:
build:
targets:
DropTwo: all
run:
config: Debug
test:
config: Debug
targets:
- DropTwoCoreTests
droptwo-cli:
build:
targets:
droptwo-cli: all
run:
config: Debug

Powered by TurnKey Linux.