diff --git a/Box42/Scripts/sh/brewInGoinfre.sh b/Box42/Resources/sh/brewInGoinfre.sh similarity index 100% rename from Box42/Scripts/sh/brewInGoinfre.sh rename to Box42/Resources/sh/brewInGoinfre.sh diff --git a/Box42/Scripts/sh/cleanCache.sh b/Box42/Resources/sh/cleanCache.sh similarity index 100% rename from Box42/Scripts/sh/cleanCache.sh rename to Box42/Resources/sh/cleanCache.sh diff --git a/Box42/Scripts/sh/exportMacOSInfo.sh b/Box42/Resources/sh/exportMacOSInfo.sh similarity index 100% rename from Box42/Scripts/sh/exportMacOSInfo.sh rename to Box42/Resources/sh/exportMacOSInfo.sh diff --git a/Box42/Scripts/sh/importMacOSInfo.sh b/Box42/Resources/sh/importMacOSInfo.sh similarity index 100% rename from Box42/Scripts/sh/importMacOSInfo.sh rename to Box42/Resources/sh/importMacOSInfo.sh diff --git a/Box42/Scripts/sh/keyMapping.sh b/Box42/Resources/sh/keyMapping.sh similarity index 100% rename from Box42/Scripts/sh/keyMapping.sh rename to Box42/Resources/sh/keyMapping.sh diff --git a/Box42/Scripts/sh/nodeInstall.sh b/Box42/Resources/sh/nodeInstall.sh similarity index 100% rename from Box42/Scripts/sh/nodeInstall.sh rename to Box42/Resources/sh/nodeInstall.sh diff --git a/Project.swift b/Project.swift index 7ab74f9..0c1c3d1 100644 --- a/Project.swift +++ b/Project.swift @@ -1,3 +1,10 @@ +// +// Project.swift +// Config +// +// Created by Chan on 2023/08/16. +// + import ProjectDescription // MARK: Constants @@ -5,7 +12,9 @@ let projectName = "Box42" let organizationName = "Box42" let bundleID = "com.box42" let targetVersion = "10.15" - +let dependencies: [TargetDependency] = [ + .external(name: "SnapKit"), +] // MARK: Struct let project = Project( name: projectName, @@ -15,15 +24,16 @@ let project = Project( targets: [ Target(name: projectName, platform: .macOS, - product: .app, // unitTests, .appExtension, .framework, dynamicLibrary, staticFramework + product: .app, bundleId: bundleID, deploymentTarget: .macOS(targetVersion: targetVersion), infoPlist: .file(path: "\(projectName)/Resources/Info.plist"), sources: ["\(projectName)/**"], resources: ["\(projectName)/Resources/Assets.xcassets", - "\(projectName)/Resources/Main.storyboard",], + "\(projectName)/Resources/Main.storyboard", + "\(projectName)/Resources/sh/*.sh",], entitlements: "\(projectName)/Resources/Box42.entitlements", - dependencies: [] // tuist generate할 경우 pod install이 자동으로 실행 + dependencies: dependencies ) ], schemes: [], diff --git a/Tuist/Dependencies.swift b/Tuist/Dependencies.swift new file mode 100644 index 0000000..a131a1f --- /dev/null +++ b/Tuist/Dependencies.swift @@ -0,0 +1,17 @@ +// +// Dependencies.swift +// Config +// +// Created by Chan on 2023/08/16. +// + +import ProjectDescription + +let spm = SwiftPackageManagerDependencies([ + .remote(url: "https://github.com/SnapKit/SnapKit", requirement: .exact("5.6.0")), +]) + +let dependencies = Dependencies( + swiftPackageManager: spm, + platforms: [.macOS] +)