Rename Core to avoid collisions with other packages (i.e. GraphViz) (#1057)

* Rename 'Core' to 'XcodeGenCore'

* Update CHANGELOG.md

* Update CHANGELOG.md
This commit is contained in:
Elliott Williams 2021-04-30 20:39:34 -07:00 committed by GitHub
parent 56f943ec01
commit 35212a6154
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 11 additions and 10 deletions

View File

@ -21,6 +21,7 @@
#### Internal
- Build universal binaries for release. XcodeGen now runs natively on Apple Silicon. [#1024](https://github.com/yonaskolb/XcodeGen/pull/1024) @thii
- The `Core` target is renamed to avoid collisions with other packages. [#1057](https://github.com/yonaskolb/XcodeGen/pull/1057) @elliottwilliams
[Commits](https://github.com/yonaskolb/XcodeGen/compare/2.19.0...2.20.0)

View File

@ -39,17 +39,17 @@ let package = Package(
"JSONUtilities",
"XcodeProj",
"PathKit",
"Core",
"XcodeGenCore",
"GraphViz",
]),
.target(name: "ProjectSpec", dependencies: [
"JSONUtilities",
"XcodeProj",
"Yams",
"Core",
"XcodeGenCore",
"Version",
]),
.target(name: "Core", dependencies: [
.target(name: "XcodeGenCore", dependencies: [
"PathKit",
"Yams",
]),
@ -70,8 +70,8 @@ let package = Package(
"PathKit",
"TestSupport",
]),
.testTarget(name: "CoreTests", dependencies: [
"Core",
.testTarget(name: "XcodeGenCoreTests", dependencies: [
"XcodeGenCore",
"Spectre",
"PathKit",
"TestSupport",

View File

@ -1,5 +1,5 @@
import Foundation
import Core
import XcodeGenCore
import Version
public class CacheFile {

View File

@ -3,7 +3,7 @@ import SwiftCLI
import ProjectSpec
import XcodeGenKit
import PathKit
import Core
import XcodeGenCore
import Version
class ProjectCommand: Command {

View File

@ -2,7 +2,7 @@ import Foundation
import PathKit
import ProjectSpec
import XcodeProj
import Core
import XcodeGenCore
struct SourceFile {
let path: Path

View File

@ -7,7 +7,7 @@
// Adapted from https://gist.github.com/efirestone/ce01ae109e08772647eb061b3bb387c3
import XCTest
@testable import Core
@testable import XcodeGenCore
class GlobTests: XCTestCase {

View File

@ -1,7 +1,7 @@
import Spectre
import PathKit
import XCTest
import Core
import XcodeGenCore
import TestSupport
class PathExtensionsTests: XCTestCase {