Skip to content

Commit

Permalink
Revert "Support Artifact Bundle (#1388)"
Browse files Browse the repository at this point in the history
This reverts commit 2c15007.

# Conflicts:
#	CHANGELOG.md
  • Loading branch information
yonaskolb committed Feb 15, 2024
1 parent d1110b1 commit 084fd01
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 24 deletions.
1 change: 0 additions & 1 deletion .gitignore
Expand Up @@ -7,5 +7,4 @@ xcuserdata
*.xcuserstate
XcodeGen.xcodeproj
xcodegen.zip
xcodegen.artifactbundle.zip
.vscode/launch.json
5 changes: 0 additions & 5 deletions Makefile
Expand Up @@ -48,8 +48,3 @@ brew:

archive: build
./scripts/archive.sh "$(EXECUTABLE_PATH)"
swift package plugin --allow-writing-to-package-directory generate-artifact-bundle \
--package-version $(VERSION) \
--executable-name $(EXECUTABLE_NAME) \
--build-config release \
--include-resource-path LICENSE
9 changes: 0 additions & 9 deletions Package.resolved
Expand Up @@ -9,15 +9,6 @@
"version" : "4.6.1"
}
},
{
"identity" : "artifactbundlegen",
"kind" : "remoteSourceControl",
"location" : "https://github.com/freddi-kit/ArtifactBundleGen",
"state" : {
"revision" : "707e4ccc4b1c7e48e881cd5ea91e493a95df24bf",
"version" : "0.0.6"
}
},
{
"identity" : "graphviz",
"kind" : "remoteSourceControl",
Expand Down
4 changes: 1 addition & 3 deletions Package.swift
Expand Up @@ -20,8 +20,8 @@ let package = Package(
.package(url: "https://github.com/jakeheis/SwiftCLI.git", from: "6.0.3"),
.package(url: "https://github.com/mxcl/Version", from: "2.0.0"),
.package(url: "https://github.com/SwiftDocOrg/GraphViz.git", exact: "0.2.0"),
.package(url: "https://github.com/freddi-kit/ArtifactBundleGen", exact: "0.0.6")
],

targets: [
.executableTarget(name: "XcodeGen", dependencies: [
"XcodeGenCLI",
Expand All @@ -42,8 +42,6 @@ let package = Package(
"PathKit",
"XcodeGenCore",
"GraphViz",
], resources: [
.copy("SettingPresets")
]),
.target(name: "ProjectSpec", dependencies: [
"JSONUtilities",
Expand Down
4 changes: 2 additions & 2 deletions RELEASE.md
Expand Up @@ -7,5 +7,5 @@
1. Run `make release`
1. Push commit and tag to github
1. Create release from tag on GitHub using the version number and relevant changelog contents
1. Run `make archive` and upload `xcodegen.zip` and `xcodegen.artifactbundle.zip` to the github release
1. Run `make brew` which will open a PR on homebrew core
1. Run `make archive` and upload `xcodegen.zip` to the github release
1. Run `make brew` which will open a PR on homebrew core
1 change: 0 additions & 1 deletion Sources/XcodeGenKit/SettingPresets

This file was deleted.

3 changes: 0 additions & 3 deletions Sources/XcodeGenKit/SettingsBuilder.swift
Expand Up @@ -249,9 +249,6 @@ 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 {
Expand Down

0 comments on commit 084fd01

Please sign in to comment.