-
Notifications
You must be signed in to change notification settings - Fork 2
Fix/#319 Tuist 마이그레이션 및 사용 형태 수정 #328
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
3a66bf3
5d9bd9f
d3c53b1
79c4c04
7f66b6c
3acb83c
5dfd752
34c7eb0
2f1ebcd
c60b5f4
6c81417
4a375c4
f6840d5
ef99cf6
aaf6f6d
9f15d37
71cbb79
1e2d7f0
c3bb9b2
f5c2aa1
c526210
6c298f5
6f0a76c
cfd7f77
dd58402
59fcc72
dd5ba0b
848db28
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,12 +1,20 @@ | ||
| open_plist: | ||
| open -a Xcode Plugins/EnvironmentPlugin/ProjectDescriptionHelpers/InfoPlist.swift | ||
| init: fetch gen | ||
|
|
||
| fetch: | ||
| tuist clean | ||
| tuist install | ||
| gen: | ||
| tuist generate --no-open | ||
|
|
||
| open_config: | ||
| open -a Xcode Plugins/EnvironmentPlugin/ProjectDescriptionHelpers/XCConfig.swift | ||
| sign: | ||
| @GIT_TOKEN=$$(git config user.password || git config --global user.password); \ | ||
| if [ -z "$$GIT_TOKEN" ]; then \ | ||
| echo "❌ Git token not found."; \ | ||
| exit 1; \ | ||
| fi; \ | ||
| $(MAKE) download-privates token=$$GIT_TOKEN && \ | ||
| fastlane sync | ||
|
|
||
| clean_xcode: | ||
| rm -rf ~/Library/Developer/Xcode/DerivedData/* | ||
|
|
||
| clean: | ||
| rm -rf **/**/**/*.xcodeproj | ||
| rm -rf **/**/*.xcodeproj | ||
|
|
@@ -17,16 +25,24 @@ clean: | |
| rm -rf **/Derived/ | ||
| rm -rf Derived/ | ||
|
|
||
| clean_all: | ||
| make clean | ||
| make clean_xcode | ||
| update_tuist: | ||
| sh ./Scripts/update_tuist.sh | ||
|
|
||
| open_plist: | ||
| open -a Xcode Plugins/EnvironmentPlugin/ProjectDescriptionHelpers/InfoPlist.swift | ||
|
|
||
| open_config: | ||
| open -a Xcode Plugins/EnvironmentPlugin/ProjectDescriptionHelpers/XCConfig.swift | ||
|
|
||
| clean_xcode_cache: | ||
| rm -rf ~/Library/Developer/Xcode/DerivedData/* | ||
|
|
||
| BASE_URL = https://raw.githubusercontent.com/Pepsi-Club/WhereMyBus-ignored/main | ||
|
|
||
| define download_file | ||
| @echo "Downloading $(3) to $(1) using token: $(2)" | ||
| @echo "📥 Downloading $(3) to $(1)" | ||
| mkdir -p $(1) | ||
| curl -H "Authorization: token $(2)" -o $(1)/$(3) $(BASE_URL)/$(3) | ||
| curl -sS -H "Authorization: token $(2)" -o $(1)/$(3) $(BASE_URL)/$(3) | ||
| endef | ||
|
Comment on lines
+43
to
46
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🛠️ Refactor suggestion ❓ Verification inconclusivecurl 호출 시 프로세스 리스트에 토큰 노출 가능
- curl -sS -H "Authorization: token $(2)" -o $(1)/$(3) $(BASE_URL)/$(3)
+ @echo "Authorization: token $(2)" > /tmp/.gh_hdr_$$
+ curl -sS -H @/tmp/.gh_hdr_$$ -o $(1)/$(3) $(BASE_URL)/$(3)
+ rm -f /tmp/.gh_hdr_$$혹은: curl -sS -H "Authorization: token $(GITHUB_TOKEN)" ...처럼 토큰을 환경변수로 전달하고, Make 호출부에서 curl 호출 시 프로세스 리스트에 토큰 노출 가능
- curl -sS -H "Authorization: token $(2)" -o $(1)/$(3) $(BASE_URL)/$(3)
+ @echo "Authorization: token $(2)" > /tmp/.gh_hdr_$$
+ curl -sS -H @/tmp/.gh_hdr_$$ -o $(1)/$(3) $(BASE_URL)/$(3)
+ rm -f /tmp/.gh_hdr_$$혹은: curl -sS -H "Authorization: token $(GITHUB_TOKEN)" ...처럼 토큰을 환경변수로 전달하고, Make 호출부에서 🤖 Prompt for AI Agents
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @MUKER-WON @isakatty 귀찮아서 나중에 다시 볼게요..ㅋㅋ There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
|
|
||
| .PHONY: download-privates | ||
|
|
@@ -48,5 +64,3 @@ download-env: | |
| download-googleinfo: | ||
| $(call download_file, Projects/App/Resources, $(token),GoogleService-Info.plist) | ||
| $(call download_file, Projects/App/Resources, $(token),GoogleService-Info-debugging.plist) | ||
|
|
||
|
|
||
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| // | ||
| // UIKitInfoPlist.swift | ||
| // EnvironmentPlugin | ||
| // | ||
| // Created by gnksbm on 4/11/25. | ||
| // | ||
|
|
||
| import Foundation | ||
|
|
||
| public struct UIKitInfoPlist: InfoPlistBuildable { | ||
| public var dictionary: [String : ProjectDescription.Plist.Value] { | ||
| [ | ||
| "UILaunchStoryboardName": "LaunchScreen.storyboard", | ||
| "UIApplicationSceneManifest": [ | ||
| "UIApplicationSupportsMultipleScenes": false, | ||
| "UISceneConfigurations": [ | ||
| "UIWindowSceneSessionRoleApplication": [ | ||
| [ | ||
| "UISceneConfigurationName": "Default Configuration", | ||
| "UISceneDelegateClassName": "$(PRODUCT_MODULE_NAME).SceneDelegate" | ||
| ], | ||
| ] | ||
| ] | ||
| ], | ||
| "UISupportedInterfaceOrientations": ["UIInterfaceOrientationPortrait"] | ||
| ] | ||
| } | ||
|
|
||
| public init() { } | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| // | ||
| // WhereMyBusInfoPlist.swift | ||
| // EnvironmentPlugin | ||
| // | ||
| // Created by gnksbm on 4/11/25. | ||
| // | ||
|
|
||
| import Foundation | ||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| // | ||
| // InfoPlistBuildable.swift | ||
| // EnvironmentPlugin | ||
| // | ||
| // Created by gnksbm on 4/11/25. | ||
| // | ||
|
|
||
| import ProjectDescription | ||
|
|
||
| public protocol InfoPlistBuildable { | ||
| var dictionary: [String: Plist.Value] { get } | ||
| } | ||
|
|
||
| public extension InfoPlistBuildable { | ||
| func buildInfoPlist() -> InfoPlist { | ||
| .dictionary(dictionary) | ||
| } | ||
| } | ||
|
|
||
| extension Array: InfoPlistBuildable where Element == any InfoPlistBuildable { | ||
| public var dictionary: [String : Plist.Value] { | ||
| reduce([String : Plist.Value]()) { partialResult, next in | ||
| partialResult.merging(next.dictionary) { _, new in new } | ||
| } | ||
| } | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
공백 문자 제거 필요
YAML 파일의 여러 줄에서 후행 공백이 감지되었습니다. 이는 린팅 도구에서 오류로 표시됩니다.
다음 diff를 적용하여 후행 공백을 제거하세요:
Also applies to: 48-48, 51-51, 54-54
🧰 Tools
🪛 YAMLlint (1.37.1)
[error] 42-42: trailing spaces
(trailing-spaces)
🤖 Prompt for AI Agents