You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
생각해보니 제가 Tuist 패키지 추가 방법과 caching 방법에 대해서 공유를 안했던 것 같더라구요
조금 늦은감이 있지만... 지금이라도 알려드리려 합니다.
Tuist 패키지 추가 방법
으로 manifests 설정창을 열어줍시다.
Tuist 하위 dependencies로 가서 swiftPackageManager를 이미 있는 패키지와 같은 형식으로 추가해주면 됩니다.
그리고 dependency를 추가하고자 하는 모듈에 들어가서
dependencies에 같은 형식으로 추가하시면 됩니다!
그런데 주의점이 있습니다.
가져오고자 하는 패키지의 github를 가보면 Pakage.swift 가 있을텐데, 여기서 product name을 찾아 추가를 해야 합니다.
package name과 product name 이 동일한 경우도 있고 아닌경우도 있어서, 꼭 확인하고 넣어야 합니다!
Tuist caching 을 사용하여 빌드속도 향상 시키기
tuist fetch 후
터미널에서 실행해주면 자동으로 caching 을 해줍니다!
그러면 이런식으로 pre-compiled 된 파일들이 삭 생깁니다.
Tuist 에서는 매번 메인 브랜치 커밋마다 cache warm 하는걸 추천하는데 해보니까 caching 하는데 조금 오래걸려서, 생각날떄마다 주기적으로 하면 충분할 것 같습니다.
끝
모두 슬기로운 tuist 생활을 실천합시다
Beta Was this translation helpful? Give feedback.
All reactions