Skip to content

Commit

Permalink
Rename to XcodeProj
Browse files Browse the repository at this point in the history
  • Loading branch information
Pedro Piñera committed Apr 2, 2019
1 parent 2cebeb1 commit 146dc36
Show file tree
Hide file tree
Showing 61 changed files with 65 additions and 65 deletions.
4 changes: 2 additions & 2 deletions Documentation/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Optionally, if you only plan to play with the library, you can do some scripting
```swift
#!/usr/bin/swift sh
import Foundation
import xcodeproj // @tuist
import XcodeProj // @tuist
import PathKit
```

Expand All @@ -54,7 +54,7 @@ The first thing that we are going to do is reading an existing project. A projec
```swift
import Foundation
import PathKit
import xcodeproj
import XcodeProj

let path = Path("/path/to/my/Project.xcodeproj") // Your project path
let xcodeproj = XcodeProj(path: path)
Expand Down
8 changes: 4 additions & 4 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,21 @@
import PackageDescription

let package = Package(
name: "xcodeproj",
name: "XcodeProj",
products: [
.library(name: "xcodeproj", targets: ["xcodeproj"]),
.library(name: "XcodeProj", targets: ["XcodeProj"]),
],
dependencies: [
.package(url: "https://github.com/tadija/AEXML", .upToNextMinor(from: "4.4.0")),
.package(url: "https://github.com/kylef/PathKit", .upToNextMinor(from: "1.0.0")),
.package(url: "https://github.com/tuist/Shell", .upToNextMinor(from: "2.0.1")),
],
targets: [
.target(name: "xcodeproj",
.target(name: "XcodeProj",
dependencies: [
"PathKit",
"AEXML",
]),
.testTarget(name: "xcodeprojTests", dependencies: ["xcodeproj", "Shell"]),
.testTarget(name: "XcodeProjTests", dependencies: ["XcodeProj", "Shell"]),
]
)
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ git tag that represents the project’s version:
```swift
#!/usr/bin/swift sh
import Foundation
import xcodeproj // @tuist ~> 6.7.0
import XcodeProj // @tuist ~> 6.7.0
import PathKit

guard CommandLine.arguments.count == 3 else {
Expand Down
2 changes: 1 addition & 1 deletion Tests/LinuxMain.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import XCTest
@testable import xcodeprojTests
@testable import XcodeProjTests

// testDictionaryExtras()
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

import AEXML
import XCTest
@testable import xcodeproj
@testable import XcodeProj

extension String {
var cleaned: String {
Expand Down
2 changes: 1 addition & 1 deletion Tests/xcodeprojTests/Extensions/Decodable+Dictionary.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Foundation
@testable import xcodeproj
@testable import XcodeProj

extension Decodable {
/// Initialies the Decodable object with a JSON dictionary.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Foundation
import PathKit
import xcodeproj
import XcodeProj
import XCTest

class DictionaryExtrasTests: XCTestCase {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Foundation
import xcodeproj
import XcodeProj
import XCTest

class BuildPhaseTests: XCTestCase {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Foundation
import xcodeproj
import XcodeProj
import XCTest

final class PBXBuildFileTests: XCTestCase {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Foundation
import XCTest
@testable import xcodeproj
@testable import XcodeProj

final class PBXBuildPhaseTests: XCTestCase {
var subject: PBXBuildPhase!
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Foundation
import xcodeproj
import XcodeProj
import XCTest

final class PBXBuildRuleTests: XCTestCase {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Foundation
import XCTest
@testable import xcodeproj
@testable import XcodeProj

final class PBXCopyFilesBuildPhaseTests: XCTestCase {
func test_subFolder_Path_hasTheCorrectValue() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Foundation
import XCTest
@testable import xcodeproj
@testable import XcodeProj

final class PBXFrameworksBuildPhaseTests: XCTestCase {
func test_isa_returnsTheRightValue() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Foundation
import XCTest
@testable import xcodeproj
@testable import XcodeProj

final class PBXHeadersBuildPhaseTests: XCTestCase {
func test_isa_returnsTheCorrectValue() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Foundation
import xcodeproj
import XcodeProj
import XCTest

final class PBXResourcesBuildPhaseTests: XCTestCase {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Foundation
import xcodeproj
import XcodeProj
import XCTest

final class PBXRezBuildPhaseTests: XCTestCase {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Foundation
import XCTest
@testable import xcodeproj
@testable import XcodeProj

final class PBXShellScriptBuildPhaseTests: XCTestCase {
func test_returnsTheCorrectIsa() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Foundation

@testable import xcodeproj
@testable import XcodeProj

extension PBXSourcesBuildPhase {
static func fixture(files: [PBXBuildFile] = []) -> PBXSourcesBuildPhase {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Foundation
import xcodeproj
import XcodeProj
import XCTest

class PBXSourcesBuildPhaseTests: XCTestCase {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Foundation
@testable import xcodeproj
@testable import XcodeProj

extension XCBuildConfiguration {
static func fixture(name: String = "Debug") -> XCBuildConfiguration {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Foundation
import XCTest
@testable import xcodeproj
@testable import XcodeProj

final class XCBuildConfigurationTests: XCTestCase {
func test_initFails_ifNameIsMissing() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Foundation
@testable import xcodeproj
@testable import XcodeProj

extension XCConfigurationList {
static func fixture(buildConfigurations: [XCBuildConfiguration] = [XCBuildConfiguration.fixture(name: "Debug"),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Foundation
import XCTest
@testable import xcodeproj
@testable import XcodeProj

final class XCConfigurationListTests: XCTestCase {
func test_isa_returnsTheCorrectValue() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Foundation
import XCTest
@testable import xcodeproj
@testable import XcodeProj

final class PBXContainerItemProxyTests: XCTestCase {
func test_itHasTheCorrectIsa() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Foundation
import PathKit
import XCTest
@testable import xcodeproj
@testable import XcodeProj

final class PBXFileElementTests: XCTestCase {
var subject: PBXFileElement!
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Foundation

@testable import xcodeproj
@testable import XcodeProj

extension PBXFileReference {
static func fixture(sourceTree _: PBXSourceTree = .group,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Foundation
import xcodeproj
import XcodeProj
import XCTest

final class PBXFileReferenceTests: XCTestCase {
Expand Down
2 changes: 1 addition & 1 deletion Tests/xcodeprojTests/Objects/Files/PBXGroup+Fixtures.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Foundation
@testable import xcodeproj
@testable import XcodeProj

extension PBXGroup {
static func fixture(children _: [PBXFileElement] = [],
Expand Down
2 changes: 1 addition & 1 deletion Tests/xcodeprojTests/Objects/Files/PBXGroupTests.swift
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Foundation
import PathKit
import Shell
import xcodeproj
import XcodeProj
import XCTest

final class PBXGroupTests: XCTestCase {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Foundation
import XCTest
@testable import xcodeproj
@testable import XcodeProj

final class PBXSourceTreeTests: XCTestCase {
func test_none_hasTheCorrectValue() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Foundation
import xcodeproj
import XcodeProj
import XCTest

final class PBXVariantGroupTests: XCTestCase {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Foundation
@testable import xcodeproj
@testable import XcodeProj

extension XCVersionGroup {
static func fixture(objects: PBXObjects,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Foundation
import XCTest
@testable import xcodeproj
@testable import XcodeProj

final class XCVersionGroupTests: XCTestCase {}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

import XCTest
@testable import xcodeproj
@testable import XcodeProj

class PBXOutputSettingsTsts: XCTestCase {
var proj: PBXProj!
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Foundation
@testable import xcodeproj
@testable import XcodeProj

extension PBXProj {
static func fixture(rootObject: PBXProject? = PBXProject.fixture(),
Expand Down
2 changes: 1 addition & 1 deletion Tests/xcodeprojTests/Objects/Project/PBXProj+XCTest.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Foundation
@testable import xcodeproj
@testable import XcodeProj

extension PBXProj {
func encode() throws -> String {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

import Foundation
import XCTest
@testable import xcodeproj
@testable import XcodeProj

class PBXProjEncoderTests: XCTestCase {
var proj: PBXProj!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import Foundation
import PathKit
import Shell
import XCTest
@testable import xcodeproj
@testable import XcodeProj

final class PBXProjIntegrationTests: XCTestCase {
var shell: Shell!
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Foundation
import XCTest
@testable import xcodeproj
@testable import XcodeProj

final class PBXProjObjectsHelpersTests: XCTestCase {
var subject: PBXObjects!
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Foundation
@testable import xcodeproj
@testable import XcodeProj

extension PBXProject {
static func fixture(name: String = "test",
Expand Down
2 changes: 1 addition & 1 deletion Tests/xcodeprojTests/Objects/Project/PBXProjectTests.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import XCTest
@testable import xcodeproj
@testable import XcodeProj

final class PBXProjectTests: XCTestCase {
func test_attributes() throws {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Foundation
import XCTest
@testable import xcodeproj
@testable import XcodeProj

final class PBXAggregateTargetTests: XCTestCase {
func test_isa_returnsTheCorrectValue() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Foundation
import XCTest
@testable import xcodeproj
@testable import XcodeProj

final class PBXLegacyTargetTests: XCTestCase {
var subject: PBXLegacyTarget!
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Foundation
import XCTest
@testable import xcodeproj
@testable import XcodeProj

final class PBXNativeTargetTests: XCTestCase {
func test_isa_returnsTheCorrectValue() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Foundation
import xcodeproj
import XcodeProj
import XCTest

final class PBXProductTypeTests: XCTestCase {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Foundation
import XCTest
@testable import xcodeproj
@testable import XcodeProj

final class PBXReferenceProxyTests: XCTestCase {}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Foundation

@testable import xcodeproj
@testable import XcodeProj

extension PBXTarget {
static func fixture(name: String = "Test",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Foundation
import XCTest
@testable import xcodeproj
@testable import XcodeProj

final class PBXTargetDependencyTests: XCTestCase {
func test_hasTheCorrectIsa() {
Expand Down
Loading

0 comments on commit 146dc36

Please sign in to comment.