Files
wehub-resource-sync 1d1286fadb
Build / Build and test (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 13:18:38 +08:00

114 lines
4.3 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)"
MacTools:
type: application
platform: macOS
deploymentTarget: '14.0'
configFiles:
Debug: Configs/AppDebug.xcconfig
Release: Configs/AppRelease.xcconfig
sources:
- path: Sources
excludes:
- "**/.gitkeep"
- MacToolsPluginKit/**
- Extensions/**
- "../Plugins/**"
- Plugins/**/CalendarPluginResources/**
dependencies:
- target: MacToolsPluginKit
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: AppIcon
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 $(SRCROOT)/Sources/Core/CoreBrightness"
OTHER_LDFLAGS: "-framework MultitouchSupport -framework CoreBrightness -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
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