Files

183 lines
6.6 KiB
YAML

name: MacTools
options:
createIntermediateGroups: true
autoCreateSchemes: false
configs:
Debug: debug
Release: release
packages:
Sparkle:
url: https://github.com/sparkle-project/Sparkle
exactVersion: 2.9.1
include:
- path: Configs/GeneratedPlugins.yml
targets:
MacToolsPluginKit:
type: framework
platform: macOS
deploymentTarget: '14.0'
sources:
- path: Sources/MacToolsPluginKit
- path: Sources/Shared/Localization
settings:
base:
PRODUCT_NAME: MacToolsPluginKit
PRODUCT_BUNDLE_IDENTIFIER: "$(BUNDLE_IDENTIFIER_PREFIX).mactools.plugin-kit"
GENERATE_INFOPLIST_FILE: true
SWIFT_VERSION: 6.0
DEVELOPMENT_LANGUAGE: zh-Hans
MACOSX_DEPLOYMENT_TARGET: '14.0'
CODE_SIGN_STYLE: Automatic
DEVELOPMENT_TEAM: "$(DEVELOPMENT_TEAM)"
configs:
Release:
DEAD_CODE_STRIPPING: true
DEPLOYMENT_POSTPROCESSING: true
STRIP_INSTALLED_PRODUCT: true
MacToolsAppIntents:
type: framework
platform: macOS
deploymentTarget: '14.0'
sources:
- path: Sources/MacToolsAppIntents
settings:
base:
PRODUCT_NAME: MacToolsAppIntents
PRODUCT_BUNDLE_IDENTIFIER: "$(BUNDLE_IDENTIFIER_PREFIX).mactools.app-intents"
GENERATE_INFOPLIST_FILE: true
SWIFT_VERSION: 6.0
DEVELOPMENT_LANGUAGE: zh-Hans
MACOSX_DEPLOYMENT_TARGET: '14.0'
CODE_SIGN_STYLE: Automatic
DEVELOPMENT_TEAM: "$(DEVELOPMENT_TEAM)"
configs:
Release:
DEAD_CODE_STRIPPING: true
DEPLOYMENT_POSTPROCESSING: true
STRIP_INSTALLED_PRODUCT: true
MacTools:
type: application
platform: macOS
deploymentTarget: '14.0'
configFiles:
Debug: Configs/AppDebug.xcconfig
Release: Configs/AppRelease.xcconfig
sources:
- path: Sources
excludes:
- "**/.gitkeep"
- MacToolsPluginKit/**
- MacToolsAppIntents/**
- Extensions/**
- "../Plugins/**"
- Plugins/**/CalendarPluginResources/**
dependencies:
- target: MacToolsPluginKit
embed: true
- target: MacToolsAppIntents
embed: true
- target: RightClickFinderSync
embed: true
- package: Sparkle
settings:
base:
PRODUCT_NAME: MacTools
PRODUCT_MODULE_NAME: MacTools
PRODUCT_BUNDLE_IDENTIFIER: "$(BUNDLE_IDENTIFIER_PREFIX).mactools"
ASSETCATALOG_COMPILER_APPICON_NAME: ""
SWIFT_VERSION: 6.0
DEVELOPMENT_LANGUAGE: zh-Hans
MACOSX_DEPLOYMENT_TARGET: '14.0'
CODE_SIGN_STYLE: Automatic
DEVELOPMENT_TEAM: "$(DEVELOPMENT_TEAM)"
GENERATE_INFOPLIST_FILE: false
INFOPLIST_FILE: Configs/MacTools-Info.plist
CODE_SIGN_ENTITLEMENTS: Configs/MacTools.entitlements
MACTOOLS_URL_SCHEME: mactools
RIGHT_CLICK_CONFIGURATION_HOME_RELATIVE_PATH: Library/Application Support/MacTools/right-click-menu.json
SPARKLE_PUBLIC_ED_KEY: YS4ioWunyQC5rP/YQdDbG9panyqCKNyBd0iPTUqIFY0=
SWIFT_OBJC_BRIDGING_HEADER: Sources/MacTools-Bridging-Header.h
SWIFT_INCLUDE_PATHS: "$(SRCROOT)/Sources/Core/MultitouchSupport"
OTHER_LDFLAGS: "-framework MultitouchSupport -framework IOKit -framework EventKit -framework Network -F
/System/Library/PrivateFrameworks"
configs:
Debug:
PRODUCT_NAME: "MacTools Dev"
PRODUCT_BUNDLE_IDENTIFIER: "$(BUNDLE_IDENTIFIER_PREFIX).mactools.dev"
MACTOOLS_URL_SCHEME: mactools-dev
RIGHT_CLICK_CONFIGURATION_HOME_RELATIVE_PATH: Library/Application Support/MacTools Dev/right-click-menu.json
Release:
DEAD_CODE_STRIPPING: true
DEPLOYMENT_POSTPROCESSING: true
STRIP_INSTALLED_PRODUCT: true
RightClickFinderSync:
type: app-extension
platform: macOS
deploymentTarget: '14.0'
configFiles:
Debug: Configs/AppDebug.xcconfig
Release: Configs/AppRelease.xcconfig
sources:
- path: Sources/Extensions/RightClickFinderSync
- path: Sources/Core/RightClick
excludes:
- RightClickURLRouter.swift
- path: Sources/Shared/Localization
settings:
base:
PRODUCT_NAME: RightClickFinderSync
PRODUCT_MODULE_NAME: RightClickFinderSync
PRODUCT_BUNDLE_IDENTIFIER: "$(BUNDLE_IDENTIFIER_PREFIX).mactools.right-click.finder-sync"
SWIFT_VERSION: 6.0
DEVELOPMENT_LANGUAGE: zh-Hans
MACOSX_DEPLOYMENT_TARGET: '14.0'
CODE_SIGN_STYLE: Automatic
DEVELOPMENT_TEAM: "$(DEVELOPMENT_TEAM)"
GENERATE_INFOPLIST_FILE: false
INFOPLIST_FILE: Sources/Extensions/RightClickFinderSync/RightClickFinderSync-Info.plist
CODE_SIGN_ENTITLEMENTS: Sources/Extensions/RightClickFinderSync/RightClickFinderSync.entitlements
MACTOOLS_URL_SCHEME: mactools
RIGHT_CLICK_CONFIGURATION_HOME_RELATIVE_PATH: Library/Application Support/MacTools/right-click-menu.json
configs:
Debug:
PRODUCT_BUNDLE_IDENTIFIER: "$(BUNDLE_IDENTIFIER_PREFIX).mactools.dev.right-click.finder-sync"
CODE_SIGN_ENTITLEMENTS: Sources/Extensions/RightClickFinderSync/RightClickFinderSync-Debug.entitlements
MACTOOLS_URL_SCHEME: mactools-dev
RIGHT_CLICK_CONFIGURATION_HOME_RELATIVE_PATH: Library/Application Support/MacTools Dev/right-click-menu.json
Release:
DEAD_CODE_STRIPPING: true
DEPLOYMENT_POSTPROCESSING: true
STRIP_INSTALLED_PRODUCT: true
AppInstanceProbe:
type: tool
platform: macOS
deploymentTarget: '14.0'
sources:
- path: Sources/App/AppInstanceCoordinator.swift
- path: Sources/Core/Diagnostics/AppLog.swift
- path: Tests/Support/AppInstanceProbe/AppInstanceProbe.swift
settings:
base:
PRODUCT_NAME: AppInstanceProbe
PRODUCT_MODULE_NAME: AppInstanceProbe
PRODUCT_BUNDLE_IDENTIFIER: "$(BUNDLE_IDENTIFIER_PREFIX).mactools.instance-probe"
GENERATE_INFOPLIST_FILE: true
SWIFT_VERSION: 6.0
CODE_SIGNING_ALLOWED: false
AppIntentCircuitBreakerProbe:
type: tool
platform: macOS
deploymentTarget: '14.0'
sources:
- path: Sources/Core/AppIntents/MacToolsAppIntentCircuitBreaker.swift
- path: Sources/Core/Diagnostics/AppLog.swift
- path: Tests/Support/AppIntentCircuitBreakerProbe/AppIntentCircuitBreakerProbe.swift
settings:
base:
PRODUCT_NAME: AppIntentCircuitBreakerProbe
PRODUCT_MODULE_NAME: AppIntentCircuitBreakerProbe
PRODUCT_BUNDLE_IDENTIFIER: "$(BUNDLE_IDENTIFIER_PREFIX).mactools.app-intent-circuit-breaker-probe"
GENERATE_INFOPLIST_FILE: true
SWIFT_VERSION: 6.0
CODE_SIGNING_ALLOWED: false