Skip to content

Commit

Permalink
✨[feat]: tuist plugin 으로 변경 #6
Browse files Browse the repository at this point in the history
  • Loading branch information
Roy-wonji committed Jun 12, 2023
1 parent cfb592b commit 498e4ad
Show file tree
Hide file tree
Showing 10 changed files with 17 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ public extension TargetDependency.SPM {
static let CombineMoya = TargetDependency.external(name: "CombineMoya")
static let PopupView = TargetDependency.external(name: "PopupView")
static let Kingfisher = TargetDependency.external(name: "Kingfisher")

//MARK: - preview 관련


}

4 changes: 3 additions & 1 deletion PingPong/Projects/App/Project.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@


import ProjectDescription
import ProjectDescriptionHelpers
import MyPlugin



let localHelper = LocalHelper(name: "MyPlugin")
let project = Project.makeModule(
name: "PingPong",
platform: .iOS,
Expand Down
4 changes: 3 additions & 1 deletion PingPong/Projects/Component/Project.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@
//

import ProjectDescription
import ProjectDescriptionHelpers
import MyPlugin



let localHelper = LocalHelper(name: "MyPlugin")
let project = Project.makeModule(
name: "Component",
product: .staticFramework,
Expand Down
9 changes: 5 additions & 4 deletions PingPong/Projects/HomeApp/Project.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,18 @@
//

import ProjectDescription
import ProjectDescriptionHelpers
import MyPlugin



let localHelper = LocalHelper(name: "MyPlugin")
let project = Project.makeModule(
name: "HomeApp",
platform: .iOS,
product: .app,
//MARK: - 풀 빌드 할때는 프레임 워크로 변경
// product: .staticFramework,
packages: [ // packages를 추가하여 Amplify 라이브러리 추가

],


Expand All @@ -26,8 +27,8 @@ let project = Project.makeModule(
.SPM.CombineMoya,
.SPM.Kingfisher,
.SPM.PopupView,
.Projcet.Network,
.Projcet.Component



],
sources: ["Sources/**", "Resources/**", "Resources/Font/**"],
Expand Down
4 changes: 3 additions & 1 deletion PingPong/Projects/Network/Project.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@
//

import ProjectDescription
import ProjectDescriptionHelpers
import MyPlugin



let localHelper = LocalHelper(name: "MyPlugin")
let project = Project.makeModule(
name: "Network",
product: .staticFramework,
Expand Down
3 changes: 2 additions & 1 deletion PingPong/Tuist/Dependencies.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ let dependencie = Dependencies(
swiftPackageManager: [
.remote(url: "https://github.com/Moya/Moya.git", requirement: .upToNextMinor(from: "15.0.0")),
.remote(url: "https://github.com/onevcat/Kingfisher.git", requirement: .upToNextMinor(from: "7.6.0")),
.remote(url: "https://github.com/exyte/PopupView.git", requirement: .upToNextMinor(from: "2.1.0"))
.remote(url: "https://github.com/exyte/PopupView.git", requirement: .upToNextMinor(from: "2.1.0")),



],
Expand Down

0 comments on commit 498e4ad

Please sign in to comment.