Commit Graph

27 Commits

Author SHA1 Message Date
SooHwanCho a80500c605
Support for custom shell path in `ExecuteAction` (#5154)
* bump up Xcodeproj to 8.9.0

* add shellPath property at ExecuteAction

* update changelog

* run lint

* update pull request link

* match changelog with PR title

* remove changes in changelog (it will be auto-generated)

* update shellPath comment

* update fixture to use shellPath in ExecutionAction

* bump up XcodeProj to 8.10.0
2023-04-28 23:32:06 +02:00
Daniele Formichelli 93b2838373
Bump Tuist dependencies and macOS version (#5094)
* copy of dh/update-xcode-14, but without Xcode bump

* restore stencil version

* fix Dependencies.swift
2023-03-13 11:28:14 +01:00
Marek Fořt f15b3f16e6
Add cloud init command (#4976)
* Create project via graphql API

* Reauthenticate when token is missing

* Fix CLI authentication redirect

* Create fixture for cloud init

* Create and delete project based on default_project reference

* Use uuid in the fixture test

* Add tests

* Run lints

* Install cloud dependencies

* Bump Xcode version

* Regenerate tuist Package.resolved with the older Xcode version

* Rerun linters

* Fix lint issues

* Update docs

* Allow passing no owner for tuist cloud init

* Remove wrong uses

* Fix CloudInitServiceTests

* Update tuist.yml

* Remove extra name from tuist.yml step

* Start posgresql

* Migrate database

* Address PR comments

* Query token

* Query account

* Increase cloud server start timeout
2023-01-21 21:40:38 +01:00
YoHan Cho 8751564143
Fix loading of stencils using `{% extends %}` (#4844) 2022-10-28 22:27:21 +02:00
Daniele Formichelli 320ee081e8
Bump dependencies (#4772)
* chore: bump dependencies

* chore: bump GraphViz

* fix: fix Package.swift

* chore: bump min Xcode version

* Revert "chore: bump min Xcode version"

This reverts commit ae69f85280.

* chore: restore SwiftGen 6.5.1 to avoid having to bump Xcode

* chore: bump SwiftGen and Xcode version

* chore: set min Xcode version

* chore: try to manually install graphviz

* chore: set SwiftDocOrg/GraphViz to 0.2.0

* fix: fix compilation with GraphViz 0.2.0

* fix: fix lockfiles loading

* fix: fix Xcode version

* fix: fix fourier tests

* fix: lockfiles test

* fix: fix Xcode version

* fix: fix lockfiles test

* fix: restore older SwiftGen

* fix: restore StencilKitSwift
2022-09-27 21:37:07 +02:00
Kas be370e18e1
Add support for Xcode 14 compatible watch application targets (#4658)
* Add support for Xcode 14 compatible watch application targets

Resolves: https://github.com/tuist/tuist/issues/4572

- In Xcode 14, watch applications can now leverage the regular application product identifier (`.app`)
- This now alleviates the need to have a watch extension target all together, the application target can host both code and resources and behaves like regular target (e.g. can link other products)
- The linter in Tuist has been updated to accomodate for this use case and allow watchOS `.app` targets to be created
- A few additional default settings were added for watchOS application (linker search paths) as they now support directly linking other frameworks

Notes:

- It's unclear if there's still a need to embed the watch application when they are companion applications for iOS applications
- Creating new projects in Xcode 14 beta 4 doesn't seem to add any additional build phases

Test Plan:

- Verify tests pass
- Generate the newly added fixture `ios_app_with_watch_application`

* chore: bump swift-tools-support-core to fix compatibility with Xcode 14

* Suppport embedding watch applications in companion iOS applications

* Tidy up switch statement

Co-authored-by: Daniele Formichelli <df@bendingspoons.com>

* Ensure correct platform is set in tests

Co-authored-by: Daniele Formichelli <df@bendingspoons.com>
2022-09-21 09:19:48 +02:00
Daniele Formichelli 2dfb623697
Update XcodeProj to 8.8.0 (#4629)
* chore: bump Xcodeproj to 8.8.0

* fix: fix compilation error for XCodeProj 8.8.0

* fix: fix tests after XCodeProj 8.8.0
2022-07-25 09:25:01 +02:00
Alfredo Delli Bovi 6b8629b8b9
chore: update argument parser with async/await support (#4353)
Co-authored-by: Daniele Formichelli <df@bendingspoons.com>
2022-05-29 22:22:19 +02:00
Marek Fořt 341047e210
Send cache targets hits analytics metadata (#4429)
* Add cache hit rate analytics

* Move metadata to command_event

* Add cache metadata to command run

* Show run cache analytics
2022-05-11 08:44:31 +02:00
Marek Fořt ff1441937a
Fix zipping and unzipping cached frameworks with symlinks (#4355)
* Turn on cloud config

* Dirty cache

* Use zip command to include symlinks

* Fix storing target

* Add analytics to Config.swift

* Use ZIPFoundation instead of ZIP

* Revert "Dirty cache"

This reverts commit c2b0b195f8.

* Move to fork of ZIPFoundation

* Use xcframeworks

* Dirty cache

* Fix TuistGeneratorTests

* Revert "Dirty cache"

This reverts commit 690374b4eb.

* Fix fourier tests

* Lint and fix fourier

* Rename pathsPath to pathsDirectoryPath
2022-05-06 09:03:59 +02:00
Daniele Formichelli fadb0c9f17
fix: fix swift version parsing (#4293)
* fix: fix swift version parsing

* fix: disable caching of all tuist targets as it is failing

* chore: bump swift-tools-core to use new Version init

* chore: format

* chore: use xcframeworks in tuist generate

* chore: temporarily disable tuist cloud

* docs: remove old doc comment
2022-03-28 20:50:07 +02:00
Daniele Formichelli 97644a51c8
chore: remove BlueSignal dependency (#4097)
* chore: remove BlueSignal dependency

* chore: remove unused imports

* chore: use official swifter repo

* chore: formatting
2022-02-02 12:43:55 +01:00
Alfredo Delli Bovi cc8d0a70d0
Replace RxSwift implementation for System (#4049)
Co-authored-by: Daniele Formichelli <df@bendingspoons.com>
2022-01-26 11:11:24 +01:00
Luis Padron 05d0e931cd
fix: importing of plugins in Dependencies.swift (#4018) 2022-01-26 07:41:11 +01:00
Alfredo Delli Bovi 1094ad3d1d Revert "Replace RxSwift for XcodeBuildController and System (#4029)"
This reverts commit 0ecea33054.
2022-01-24 17:44:38 +01:00
Alfredo Delli Bovi 0ecea33054
Replace RxSwift for XcodeBuildController and System (#4029) 2022-01-22 23:16:45 +01:00
Alfredo Delli Bovi 2e270bfe2f
Replace RxSwift for Cache command to async/await (#4003)
* Replace RxSwift for Cache command to async/await

* Update Sources/TuistCacheTesting/Cache/Mocks/MockCacheStorage.swift

Co-authored-by: Daniele Formichelli <df@bendingspoons.com>

* Update Sources/TuistCacheTesting/Cache/Mocks/MockCacheStorage.swift

Co-authored-by: Daniele Formichelli <df@bendingspoons.com>

* Update Sources/TuistCache/Cache/CacheLocalStorage.swift

Co-authored-by: Daniele Formichelli <df@bendingspoons.com>

* Apply code review

* Update concurrent async map and compactMap to keep execution order

* Replace RxSwift for TuistAnalytics (#4005)

Co-authored-by: Daniele Formichelli <df@bendingspoons.com>
2022-01-18 12:03:29 +01:00
Daniele Formichelli 19c762ecf8
feat: add automatic mapping of product or settings for known libraries (#3996)
* feat: add automatic mapping of product or settings for known libraries

* chore: remove debug print

Co-authored-by: Luis Padron <luis.padron@compass.com>

* fix: formatting

* chore: cleanup dependencies

* chore: restore Zip original dependency

* chore: fix fixture

Co-authored-by: Luis Padron <luis.padron@compass.com>
2022-01-14 23:07:26 +01:00
Kamil Harasimowicz 09fa3c17e0 [bump-swift-argument-parser] Updated dependencies using the `Dependencies.swift`. 2022-01-05 20:42:01 +01:00
Marek Fořt 67406d6e7d
Swiftformat update (#3782)
* Update swiftformat binary

* Add swiftformat rules

* Run format swift

* Format files which used to be excluded

* fixup! extensionacl

* fixup! Format

* Fix lint issues

* Make linting errors in app_with_framework_where_framework_failing_swiftlint
2021-12-05 20:05:15 +01:00
ezraberch eb0be82317
Set `ENABLE_TESTING_SEARCH_PATHS` for appropriate dependencies (#3667) 2021-11-16 10:58:07 +01:00
ezraberch a639485641
Fix Fourier issues (#3627)
* * `./fourier build tuist all` will fetch dependencies first
* Fourier exits with status 1 if an external call is unsuccessful

* Fix ruby unit tests

* Fix linter issue

* Fix more linter issues

* * Fix more linting issues
* Fix logic error in XCTAssertHTTPResourceURL
* Temporarily disable SwiftFormat from pre-commit hook

* Re-enable SwiftFormat pre-commit hook

* Change SwiftGen version to 6.5.0

* Fetch dependencies before running unit tests

* Fix fourier self-test

* * Change `productType` of `Checksum` dependency to `.framework`
* Fix logic error in XCTestCase extensions
* Remove `byebug` reference

* Fix broken Analytics tests

* SwiftFormat

* Remove `-quiet` flag from `./fourier format swift`

* Update fourier tests
2021-11-15 11:06:04 +01:00
ezraberch 3ddd84f1ba
Build RxSwift dependency as a dynamic framework (#3619)
* Build RxSwift using a dynamic framework

* Enable PR checks
2021-11-01 07:55:57 -04:00
Daniele Formichelli f9080b2297
📦 [SPM] Update logic to calculate default deployment target (#3602)
* feat: update logic to calculate deployment target

* refactor: rename cantParseMinDeploymentTarget to minDeploymentTargetParsingFailed

* docs: explain how the minimum deployment target is calculated
2021-10-29 11:09:45 +02:00
Daniel Jankowski 277f1aaee3
Add Files Resource Synthesizer (#3584)
* Add Add Files Resource Synthesizer

* Update Dependencies.swift and CHANGELOG

Co-authored-by: Pedro Piñera Buendía <pedro@ppinera.es>
2021-10-22 18:47:59 +02:00
Pedro Piñera Buendía c640895e3d
Update xcodeproj to 8.5.0 (#3566) 2021-10-16 10:36:42 +02:00
Daniele Formichelli f65486def0
📦 [Dependencies.swift][SPM] Dogfood (#3235)
* feat: use Dependencies.swift for Tuist dependencies

* fix: fix caching of targets with module map

* refactor: make ModuleMapMapper more readable

* fix: pass modulemap also to OTHER_CFLAGS

* fix: fix compilation error

* chore: update dependencies

* Move SwiftGenKit

* chore: fix fourier lint lockflies

* chore: fix fourier lint lockfiles

* chore: fix tusitignore

* chore: remove unused packages

* chore: align Package.resolved files

Co-authored-by: fortmarek <marekfort@me.com>
2021-10-11 17:56:57 +02:00