Skip to content

Commit e1e4f12

Browse files
committed
Rename the XCode folder to Xcode
1 parent c15fee3 commit e1e4f12

File tree

7 files changed

+13
-13
lines changed

7 files changed

+13
-13
lines changed

.github/workflows/macos-tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,19 @@ jobs:
2121
mkdir -p tmp/test-results/
2222
- name: Run Unit Test - macOS
2323
run: |
24-
cd XCode
24+
cd Xcode
2525
set -o pipefail && xcodebuild test -scheme SwifterMac -sdk macosx -destination "arch=x86_64" | xcpretty -c -r html --output $TEST_REPORTS/macOS.html
2626
- name: Run Unit Test - iOS
2727
run: |
28-
cd XCode
28+
cd Xcode
2929
set -o pipefail && xcodebuild test -scheme SwifteriOS -sdk iphonesimulator -destination "name=iPhone 8" | xcpretty -c -r html --output $TEST_REPORTS/iOS.html
3030
- name: Run Unit Test - tvOS
3131
run: |
32-
cd XCode
32+
cd Xcode
3333
set -o pipefail && xcodebuild test -scheme SwiftertvOS -sdk appletvsimulator -destination "name=Apple TV 4K (at 1080p)" | xcpretty -c -r html --output $TEST_REPORTS/tvOS.html
3434
- name: Run Unit Test - Swift Package Manager
3535
run: |
36-
cd XCode
36+
cd Xcode
3737
swift build && swift test
3838
- name: Archive Test results
3939
uses: actions/upload-artifact@v1

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ DerivedData
2727

2828
.build/
2929
Packages/
30-
/XCode/.DS_Store
30+
/Xcode/.DS_Store

.swiftlint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ disabled_rules:
1616

1717
excluded: # paths to ignore during linting. Takes precedence over `included`.
1818
- LinuxMain.swift
19-
- XCode/Tests/XCTestManifests.swift
19+
- Xcode/Tests/XCTestManifests.swift
2020
- Tests/XCTestManifests.swift
2121
- Package.swift

Dangerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ swiftlint.config_file = '.swiftlint.yml'
2626
swiftlint.lint_files
2727

2828
# Warn when new tests are added but the XCTestManifests wasn't updated to run on Linux
29-
tests_added_or_modified = !git.modified_files.grep(/XCode\/Tests/).empty? || !git.added_files.grep(/XCode\/Tests/).empty?
30-
xc_manifest_updated = !git.modified_files.grep(/XCode\/Tests\/XCTestManifests.swift/).empty?
29+
tests_added_or_modified = !git.modified_files.grep(/Xcode\/Tests/).empty? || !git.added_files.grep(/Xcode\/Tests/).empty?
30+
xc_manifest_updated = !git.modified_files.grep(/Xcode\/Tests\/XCTestManifests.swift/).empty?
3131
if tests_added_or_modified && !xc_manifest_updated
32-
warn("It seems like you've added new tests to the library. If that's the case, please update the [XCTestManifests.swift](https://github.com/httpswift/swifter/blob/stable/XCode/Tests/XCTestManifests.swift) file running in your terminal the command `swift test --generate-linuxmain`.")
32+
warn("It seems like you've added new tests to the library. If that's the case, please update the [XCTestManifests.swift](https://github.com/httpswift/swifter/blob/stable/Xcode/Tests/XCTestManifests.swift) file running in your terminal the command `swift test --generate-linuxmain`.")
3333

3434
# This is a temporary warning to remove the entry for the failed test until we solve the issue in Linux
3535
warn("If you ran the command `swift test --generate-linuxmain` in your terminal, please remove the line `testCase(IOSafetyTests.__allTests__IOSafetyTests),` from `public func __allTests() -> [XCTestCaseEntry]` in the bottom of the file. For more reference see [#366](https://github.com/httpswift/swifter/issues/366).")

Package.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ let package = Package(
1616
.target(
1717
name: "Swifter",
1818
dependencies: [],
19-
path: "XCode/Sources"
19+
path: "Xcode/Sources"
2020
),
2121

2222
.target(
@@ -31,7 +31,7 @@ let package = Package(
3131
dependencies: [
3232
"Swifter"
3333
],
34-
path: "XCode/Tests"
34+
path: "Xcode/Tests"
3535
)
3636
]
3737
)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
Tiny http server engine written in [Swift](https://developer.apple.com/swift/) programming language.
1010

1111
### Branches
12-
`* stable` - lands on CocoaPods and others. Supports the latest non-beta XCode and SPM. Stable.
12+
`* stable` - lands on CocoaPods and others. Supports the latest non-beta Xcode and SPM. Stable.
1313

1414
`* master` - stable branch plus experimental web-framework layer.
1515

Swifter.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Pod::Spec.new do |s|
1010
s.osx.deployment_target = "10.10"
1111
s.tvos.deployment_target = "9.0"
1212
s.source = { :git => "https://github.com/httpswift/swifter.git", :tag => "1.5.0" }
13-
s.source_files = 'XCode/Sources/*.{swift}'
13+
s.source_files = 'Xcode/Sources/*.{swift}'
1414
s.swift_version = '4.2'
1515

1616
end

0 commit comments

Comments
 (0)