This repository has been archived by the owner on Aug 31, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 163
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Swift] Rename higher-order-functions to secret-agent (#2580)
* Renamed higher-order-functions to secret-agent to reflect concept -> exercise switch * fix dead links and added new editor key to config
- Loading branch information
Showing
17 changed files
with
38 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 0 additions & 8 deletions
8
languages/swift/exercises/concept/higher-order-functions/.meta/config.json
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
languages/swift/exercises/concept/higher-order-functions/Tests/LinuxMain.swift
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
12 changes: 12 additions & 0 deletions
12
languages/swift/exercises/concept/secret-agent/.meta/config.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"authors": [ | ||
{ | ||
"github_username": "wneumann", | ||
"exercism_username": "wneumann" | ||
} | ||
], | ||
"editor": { | ||
"solution_files": ["Sources/SecretAgent/SecretAgent.swift"], | ||
"test_files": ["Tests/SecretAgentTests/SecretAgentTests.swift"] | ||
} | ||
} |
File renamed without changes.
18 changes: 9 additions & 9 deletions
18
...cept/higher-order-functions/Package.swift → ...rcises/concept/secret-agent/Package.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,28 @@ | ||
// swift-tools-version:5.2 | ||
// swift-tools-version:5.3 | ||
// The swift-tools-version declares the minimum version of Swift required to build this package. | ||
|
||
import PackageDescription | ||
|
||
let package = Package( | ||
name: "HigherOrderFunctions", | ||
name: "SecretAgent", | ||
products: [ | ||
// Products define the executables and libraries produced by a package, and make them visible to other packages. | ||
// Products define the executables and libraries a package produces, and make them visible to other packages. | ||
.library( | ||
name: "HigherOrderFunctions", | ||
targets: ["HigherOrderFunctions"]), | ||
name: "SecretAgent", | ||
targets: ["SecretAgent"]), | ||
], | ||
dependencies: [ | ||
// Dependencies declare other packages that this package depends on. | ||
// .package(url: /* package url */, from: "1.0.0"), | ||
], | ||
targets: [ | ||
// Targets are the basic building blocks of a package. A target can define a module or a test suite. | ||
// Targets can depend on other targets in this package, and on products in packages which this package depends on. | ||
// Targets can depend on other targets in this package, and on products in packages this package depends on. | ||
.target( | ||
name: "HigherOrderFunctions", | ||
name: "SecretAgent", | ||
dependencies: []), | ||
.testTarget( | ||
name: "HigherOrderFunctionsTests", | ||
dependencies: ["HigherOrderFunctions"]), | ||
name: "SecretAgentTests", | ||
dependencies: ["SecretAgent"]), | ||
] | ||
) |
File renamed without changes.
6 changes: 6 additions & 0 deletions
6
languages/swift/exercises/concept/secret-agent/Tests/LinuxMain.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import SecretAgentTests | ||
import XCTest | ||
|
||
var tests = [XCTestCaseEntry]() | ||
tests += SecretAgentTests.allTests() | ||
XCTMain(tests) |
4 changes: 2 additions & 2 deletions
4
...ionsTests/HigherOrderFunctionsTests.swift → ...s/SecretAgentTests/SecretAgentTests.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters