-
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
166 changed files
with
1,832 additions
and
164 deletions.
There are no files selected for viewing
66 changes: 0 additions & 66 deletions
66
BeatCounter/BeatCounter.xcworkspace/contents.xcworkspacedata
This file was deleted.
Oops, something went wrong.
Empty file.
16 changes: 0 additions & 16 deletions
16
BeatCounter/BeatCounter/Projects/Core/Networking/ThirdParty/Project.swift
This file was deleted.
Oops, something went wrong.
22 changes: 0 additions & 22 deletions
22
BeatCounter/BeatCounter/Projects/Shared/DesignSystem/Sources/Base.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.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
31 changes: 31 additions & 0 deletions
31
...ter/Plugins/BeatCounter/ProjectDescriptionHelpers/Project+Templete/Extension+String.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,31 @@ | ||
// | ||
// Extension+String.swift | ||
// MyPlugin | ||
// | ||
// Created by 서원지 on 12/29/23. | ||
// | ||
|
||
import Foundation | ||
import ProjectDescription | ||
|
||
extension String { | ||
public static func appVersion() -> String { | ||
let version: String = "1.0.0" | ||
return version | ||
} | ||
|
||
public static func mainBundleID() -> String { | ||
return Project.Environment.bundlePrefix | ||
} | ||
|
||
public static func appBuildVersion() -> String { | ||
let buildVersion: String = "10" | ||
return buildVersion | ||
} | ||
|
||
|
||
public static func appBundleID(name: String) -> String { | ||
return Project.Environment.bundlePrefix+name | ||
} | ||
|
||
} |
22 changes: 22 additions & 0 deletions
22
...r/Plugins/BeatCounter/ProjectDescriptionHelpers/Project+Templete/Project+Enviorment.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,22 @@ | ||
// | ||
// Project+Enviorment.swift | ||
// MyPlugin | ||
// | ||
// Created by 서원지 on 12/29/23. | ||
// | ||
|
||
import Foundation | ||
import ProjectDescription | ||
|
||
public extension Project { | ||
public enum Environment { | ||
public static let appName = "BeatMaster" | ||
public static let appDevName = "BeatMaster-Dev" | ||
public static let organizationName = "Wonji suh" | ||
public static let organizationTeamId = "N94CS4N6VR" | ||
public static let deploymentTarget = DeploymentTarget.iOS(targetVersion: "17.0", devices: [.iphone, .ipad]) | ||
public static let bundlePrefix = "com.Haejoo.BeatMaster" | ||
public static let appVersion = "1.0.0" | ||
public static let mainBundleId = "com.BeatCounter" | ||
} | ||
} |
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
File renamed without changes.
File renamed without changes.
17 changes: 17 additions & 0 deletions
17
...er/BeatMaster/Plugins/BeatCounter/ProjectDescriptionHelpers/Script/Extension+Script.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,17 @@ | ||
// | ||
// Extension+Script.swift | ||
// MyPlugin | ||
// | ||
// Created by 서원지 on 12/29/23. | ||
// | ||
|
||
import Foundation | ||
import ProjectDescription | ||
|
||
public extension TargetScript { | ||
static let SwiftLintString = TargetScript.pre( | ||
script: swiftLintScript, | ||
name: "SwiftLintString", | ||
basedOnDependencyAnalysis: false | ||
) | ||
} |
24 changes: 24 additions & 0 deletions
24
BeatMaster/BeatMaster/Plugins/BeatCounter/ProjectDescriptionHelpers/Script/Scripts.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,24 @@ | ||
// | ||
// Scripts.swift | ||
// MyPlugin | ||
// | ||
// Created by 서원지 on 12/29/23. | ||
// | ||
|
||
import Foundation | ||
import ProjectDescription | ||
|
||
let swiftLintScript: String = """ | ||
if test -d "/opt/homebrew/bin/"; then | ||
PATH="/opt/homebrew/bin/:${PATH}" | ||
fi | ||
export PATH | ||
if which swiftlint > /dev/null; then | ||
swiftlint | ||
else | ||
echo "warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint" | ||
fi | ||
""" | ||
|
91 changes: 91 additions & 0 deletions
91
...r/BeatMaster/Plugins/BeatCounter/ProjectDescriptionHelpers/Setting/Project+Settings.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,91 @@ | ||
// | ||
// Project+Settings.swift | ||
// MyPlugin | ||
// | ||
// Created by 서원지 on 12/29/23. | ||
// | ||
|
||
import Foundation | ||
import ProjectDescription | ||
|
||
extension Settings { | ||
public static let appMainSetting: Settings = .settings( | ||
base: [ "PRODUCT_NAME": "\(Project.Environment.appName)", | ||
"CFBundleDisplayName" : "\(Project.Environment.appName)", | ||
"MARKETING_VERSION": .string(.appVersion()), | ||
"AS_AUTHENTICATION_SERVICES_ENABLED": "YES", | ||
"PUSH_NOTIFICATIONS_ENABLED":"YES", | ||
"ENABLE_BACKGROUND_MODES" : "YES", | ||
"BACKGROUND_MODES" : "remote-notification", | ||
// "ASSOCIATED_DOMAINS": "applinks:PingPong.page.link", | ||
"CURRENT_PROJECT_VERSION": .string(.appBuildVersion()), | ||
"CODE_SIGN_IDENTITY": "iPhone Developer", | ||
"CODE_SIGN_STYLE": "Automatic", | ||
"DEVELOPMENT_TEAM": "\(Project.Environment.organizationTeamId)", | ||
"VERSIONING_SYSTEM": "apple-generic", | ||
"DEBUG_INFORMATION_FORMAT": "DWARF with dSYM File", | ||
"DEVELOPMENT_ASSET_PATH" : "\"Resources/Preview Content\""] | ||
,configurations: [ | ||
.debug(name: .debug, settings: [ | ||
"PRODUCT_NAME" : "\(Project.Environment.appName)", | ||
"DISPLAY_NAME" : "\(Project.Environment.appName)", | ||
"OTHER_LDFLAGS": [ | ||
"-Xlinker", "-interposable", "-all_load", // Set the strip style to non-global symbols | ||
], | ||
"STRIP_STYLE": [ | ||
"non-global" | ||
], | ||
]), | ||
.debug(name: "Dev", settings: [ | ||
"PRODUCT_NAME" : "\(Project.Environment.appDevName)", | ||
"DISPLAY_NAME" : "\(Project.Environment.appDevName)", | ||
"OTHER_LDFLAGS": [ | ||
"-Xlinker", "-interposable", "-all_load", // Set the strip style to non-global symbols | ||
], | ||
"STRIP_STYLE": [ | ||
"non-global" | ||
], | ||
|
||
]), | ||
.release(name: .release, settings: [ | ||
"DEVELOPMENT_ASSET_PATHS": "\"Resources/Preview Content\"", | ||
"PRODUCT_NAME" : "\(Project.Environment.appName)" , | ||
"DISPLAY_NAME" : "\(Project.Environment.appName)" , | ||
"OTHER_LDFLAGS": [ | ||
"-all_load", | ||
], | ||
"STRIP_STYLE": [ | ||
"non-global" | ||
], | ||
|
||
])], defaultSettings: .recommended) | ||
|
||
|
||
public static let appBaseSetting: Settings = .settings( | ||
base: ["PRODUCT_NAME": "\(Project.Environment.appName)", | ||
"MARKETING_VERSION": .string(.appVersion()), | ||
"CURRENT_PROJECT_VERSION": .string(.appBuildVersion()), | ||
"CODE_SIGN_STYLE": "Automatic", | ||
"DEVELOPMENT_TEAM": "\(Project.Environment.organizationTeamId)", | ||
"DEBUG_INFORMATION_FORMAT": "DWARF with dSYM File"], | ||
configurations: [ | ||
.debug(name: .debug, settings: [ | ||
"PRODUCT_NAME": "\(Project.Environment.appName)", | ||
"OTHER_LDFLAGS": [ | ||
"-Xlinker", "-interposable", "-all_load", // Set the strip style to non-global symbols | ||
], | ||
"STRIP_STYLE": [ | ||
"non-global" | ||
], | ||
]), | ||
.release(name: .release, settings: [ | ||
"PRODUCT_NAME": "\(Project.Environment.appName)", | ||
"OTHER_LDFLAGS": [ | ||
"-all_load", | ||
], | ||
"STRIP_STYLE": [ | ||
"non-global" | ||
], | ||
])], defaultSettings: .recommended) | ||
|
||
} |
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 @@ | ||
opt_in_rules: | ||
- sorted_imports | ||
|
||
disabled_rules: | ||
- trailing_whitespace | ||
- function_body_length | ||
- identifier_name | ||
|
||
excluded: | ||
- Derived | ||
- Plugins | ||
- Project.swift | ||
- Tuist |
File renamed without changes.
Oops, something went wrong.