-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
271 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
### macOS ### | ||
# General | ||
.DS_Store | ||
.AppleDouble | ||
.LSOverride | ||
|
||
# Thumbnails | ||
._* | ||
|
||
# Files that might appear in the root of a volume | ||
.DocumentRevisions-V100 | ||
.fseventsd | ||
.Spotlight-V100 | ||
.TemporaryItems | ||
.Trashes | ||
.VolumeIcon.icns | ||
.com.apple.timemachine.donotpresent | ||
|
||
# Directories potentially created on remote AFP share | ||
.AppleDB | ||
.AppleDesktop | ||
Network Trash Folder | ||
Temporary Items | ||
.apdisk | ||
|
||
### Xcode ### | ||
# Xcode | ||
# | ||
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore | ||
|
||
## User settings | ||
xcuserdata/ | ||
|
||
## compatibility with Xcode 8 and earlier (ignoring not required starting Xcode 9) | ||
*.xcscmblueprint | ||
*.xccheckout | ||
|
||
## compatibility with Xcode 3 and earlier (ignoring not required starting Xcode 4) | ||
build/ | ||
DerivedData/ | ||
*.moved-aside | ||
*.pbxuser | ||
!default.pbxuser | ||
*.mode1v3 | ||
!default.mode1v3 | ||
*.mode2v3 | ||
!default.mode2v3 | ||
*.perspectivev3 | ||
!default.perspectivev3 | ||
|
||
### Xcode Patch ### | ||
*.xcodeproj/* | ||
!*.xcodeproj/project.pbxproj | ||
!*.xcodeproj/xcshareddata/ | ||
!*.xcworkspace/contents.xcworkspacedata | ||
/*.gcno | ||
|
||
### Projects ### | ||
*.xcodeproj | ||
*.xcworkspace | ||
.package.resolved | ||
|
||
### Tuist derived files ### | ||
graph.dot | ||
Derived/ | ||
|
||
### Tuist managed dependencies ### | ||
Tuist/Dependencies |
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,11 @@ | ||
import ProjectDescription | ||
import ProjectDescriptionHelpers | ||
|
||
let project = Project.executable( | ||
name: "MindWay", | ||
platform: .iOS, | ||
deploymentTarget: .iOS(targetVersion: "15.0", devices: [.iphone]), | ||
dependencies: [ | ||
.project(target: "Service", path: "../Service") | ||
] | ||
) |
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 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<!-- | ||
Info.plist | ||
MindWay | ||
Created by 이승화 on 3/29/24. | ||
Copyright (c) 2024 team.mindway. All rights reserved. | ||
--> | ||
<plist version="1.0"> | ||
<dict/> | ||
</plist> |
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,8 @@ | ||
import ProjectDescription | ||
import ProjectDescriptionHelpers | ||
|
||
let project = Project.dynamicFramwork( | ||
name: "Service", | ||
platform: .iOS, | ||
deploymentTarget: .iOS(targetVersion: "15.0", devices: [.iphone]) | ||
) |
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,7 @@ | ||
import Foundation | ||
|
||
public final class MindWayKit { | ||
public static func hello() { | ||
print("Hello, from your Kit framework") | ||
} | ||
} |
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,8 @@ | ||
import Foundation | ||
import XCTest | ||
|
||
final class MindWayKitTests: XCTestCase { | ||
func test_example() { | ||
XCTAssertEqual("MindWayKit", "MindWayKit") | ||
} | ||
} |
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,7 @@ | ||
import Foundation | ||
|
||
public final class MindWayUI { | ||
public static func hello() { | ||
print("Hello, from your UI framework") | ||
} | ||
} |
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,8 @@ | ||
import Foundation | ||
import XCTest | ||
|
||
final class MindWayUITests: XCTestCase { | ||
func test_example() { | ||
XCTAssertEqual("MindWayUI", "MindWayUI") | ||
} | ||
} |
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 @@ | ||
import ProjectDescription | ||
import ProjectDescriptionHelpers | ||
|
||
let project = Project.dynamicFramwork( | ||
name: "ThirdPartyLib", | ||
packages: [], | ||
deploymentTarget: .iOS(targetVersion: "15.0", devices: [.iphone]), | ||
dependencies: [ | ||
.SPM.Moya, | ||
.SPM.NeedleFoundation | ||
] | ||
) |
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,24 @@ | ||
import ProjectDescription | ||
|
||
let dependencies = Dependencies( | ||
carthage: nil, | ||
swiftPackageManager: SwiftPackageManagerDependencies( | ||
[ | ||
.remote( | ||
url: "https://github.com/Moya/Moya.git", | ||
requirement: .upToNextMajor(from: "15.0.3") | ||
), | ||
.remote( | ||
url: "https://github.com/uber/needle.git", | ||
requirement: .upToNextMajor(from: "0.24.0") | ||
) | ||
], | ||
baseSettings: .settings( | ||
configurations: [ | ||
.debug(name: .debug), | ||
.release(name: .release) | ||
] | ||
) | ||
), | ||
platforms: [.iOS] | ||
) |
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,32 @@ | ||
import ProjectDescription | ||
|
||
extension Project{ | ||
public static func dynamicFramwork( | ||
name: String, | ||
platform: Platform = .iOS, | ||
packages: [Package] = [], | ||
infoPlist: InfoPlist = .default, | ||
deploymentTarget: DeploymentTarget, | ||
dependencies: [TargetDependency] = [ | ||
.project(target: "ThirdPartyLib", path: Path("../ThirdPartyLib")) | ||
] | ||
) -> Project { | ||
return Project( | ||
name: name, | ||
packages: packages, | ||
settings: nil, | ||
targets: [ | ||
Target( | ||
name: name, | ||
platform: platform, | ||
product: .framework, | ||
bundleId: "\(publicOrganizationName).\(name)", | ||
deploymentTarget: deploymentTarget, | ||
infoPlist: infoPlist, | ||
sources: ["Sources/**"], | ||
dependencies: dependencies | ||
) | ||
] | ||
) | ||
} | ||
} |
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,32 @@ | ||
import ProjectDescription | ||
|
||
extension Project { | ||
public static func executable( | ||
name: String, | ||
platform: Platform, | ||
product: Product = .app, | ||
deploymentTarget: DeploymentTarget = .iOS(targetVersion: "15.0", devices: [.iphone]), | ||
dependencies: [TargetDependency] | ||
) -> Project { | ||
return Project( | ||
name: name, | ||
organizationName: publicOrganizationName, | ||
settings: nil, | ||
targets: [ | ||
Target( | ||
name: name, | ||
platform: platform, | ||
product: product, | ||
bundleId: "\(publicOrganizationName).\(name)", | ||
deploymentTarget: deploymentTarget, | ||
infoPlist: .file(path: Path("Support/Info.plist")), | ||
sources: ["Sources/**"], | ||
resources: ["Resources/**"], | ||
dependencies: [ | ||
.project(target: "ThirdPartyLib", path: Path("../ThirdPartyLib")), | ||
] + dependencies | ||
) | ||
] | ||
) | ||
} | ||
} |
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,3 @@ | ||
import ProjectDescription | ||
|
||
let publicOrganizationName: String = "team.mindway" |
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,10 @@ | ||
import ProjectDescription | ||
|
||
public enum ProjectDeployTarget: String { | ||
case debug = "DEBUG" | ||
case release = "RELEASE" | ||
|
||
public var configurationName: ConfigurationName { | ||
ConfigurationName.configuration(self.rawValue) | ||
} | ||
} |
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,5 @@ | ||
import ProjectDescription | ||
|
||
extension SettingsDictionary { | ||
|
||
} |
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,13 @@ | ||
import ProjectDescription | ||
|
||
extension TargetDependency { | ||
public struct SPM {} | ||
} | ||
|
||
public extension TargetDependency.SPM { | ||
static let Moya = TargetDependency.external(name: "Moya") | ||
static let NeedleFoundation = TargetDependency.external(name: "NeedleFoundation") | ||
} | ||
|
||
public extension Package { | ||
} |
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,11 @@ | ||
import ProjectDescription | ||
|
||
let workspace = Workspace( | ||
name: "Mindway", | ||
projects: [ | ||
"App", | ||
"Service" | ||
], | ||
fileHeaderTemplate: nil, | ||
additionalFiles: [] | ||
) |