mirror of
https://github.com/yonaskolb/XcodeGen.git
synced 2026-03-18 20:02:25 +00:00
Support Artifact Bundle (#1388)
* support artifact bundle * update CHANGELOG to exact PR * build ArtifactBundle only on macOS * update to copy SettingPresets into bundle * fix CHANGELOG.md * load Bundle.module * update ArtifactBundleGen * update ArtifactBundleGen to linux issue * fix unnecessary code * add lisence to bundle
This commit is contained in:
+1
@@ -0,0 +1 @@
|
||||
../../SettingPresets/
|
||||
@@ -249,6 +249,9 @@ extension SettingsPresetFile {
|
||||
symlink.parent() + relativePath,
|
||||
] + possibleSettingsPaths
|
||||
}
|
||||
if let moduleResourcePath = Bundle.module.path(forResource: "SettingPresets", ofType: nil) {
|
||||
possibleSettingsPaths.append(Path(moduleResourcePath) + "\(path).yml")
|
||||
}
|
||||
|
||||
guard let settingsPath = possibleSettingsPaths.first(where: { $0.exists }) else {
|
||||
switch self {
|
||||
|
||||
Reference in New Issue
Block a user