Commit Graph

1107 Commits

Author SHA1 Message Date
danyf90 376648d826 [Release] Tuist 3.20.0 2023-05-31 16:48:46 +00:00
danyf90 b86ef54b9a [Release] Tuist 3.19.0 2023-04-29 10:12:42 +00:00
danyf90 f3687a4a0f [Release] Tuist 3.18.0 2023-04-14 07:49:10 +00:00
danyf90 22ea4e9f24 [Release] Tuist 3.17.0 2023-03-12 12:59:46 +00:00
danyf90 4b541fb5bd [Release] Tuist 3.16.0 2023-02-09 08:16:21 +00:00
danyf90 a1ca9528d0 [Release] Tuist 3.15.0 2022-12-19 17:07:18 +00:00
danyf90 d501233cfa [Release] Tuist 3.14.0 2022-11-18 19:05:29 +00:00
danyf90 af20eb216c [Release] Tuist 3.13.0 2022-11-05 17:34:28 +00:00
danyf90 bcae7b61c1 [Release] Tuist 3.12.1 2022-10-19 08:10:30 +00:00
danyf90 4a35df2518 [Release] Tuist 3.12.0 2022-09-25 11:52:39 +00:00
danyf90 12dcb020fa [Release] Tuist 3.11.0 2022-09-15 13:50:49 +00:00
danyf90 85685daa44 [Release] Tuist 3.10.0 2022-08-20 14:44:34 +00:00
Daniele Formichelli f45791b340
docs: update changelog 2022-07-30 12:06:28 +02:00
tuistbot 6b3e4e5916 [Release] Tuist 3.9.0 2022-07-30 09:08:27 +00:00
danyf90 381513d8cb [Release] Tuist 3.8.0 2022-07-03 19:40:20 +00:00
danyf90 298c503f43 [Release] Tuist 3.7.0 2022-06-19 18:49:22 +00:00
danyf90 685840668d [Release] Tuist 3.6.0 2022-06-11 14:57:39 +00:00
danyf90 8dd9ae027f [Release] Tuist 3.5.0 2022-05-29 20:24:31 +00: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
fortmarek 8e2536a2af [Release] Tuist 3.4.0 2022-05-14 10:43:59 +00:00
fortmarek da4542a85a [Release] Tuist 3.3.0 2022-04-26 06:58:05 +00:00
adellibovi 812d2347f8 [Release] Tuist 3.2.0 2022-04-11 08:59:01 +00:00
Daniele Formichelli a76be1d1df
Disable autogenerated schemes for SwiftPackageManager dependencies. Configure schemes from your `Project.swift` or from Xcode in case you need them (#4282)
* fix: disable autogenerated schemes for SwiftPackageManager dependencies

* chore: linting

* docs: add PR link to changelog

* fix: fix tests

* docs: improve doc

* fix: fix test data

* fix: add explicit TSCBasic dependency

* fix: fix project

* chore: remove version fix as moved in different PR

* docs: remove changelog entry
2022-03-29 00:09:57 +02:00
Alfredo Delli Bovi e7a7e94ad2
Fix old entries changelog (#4308) 2022-03-28 22:29:24 +02:00
adellibovi 28bcb0cec3 [Release] Tuist 3.1.0 2022-03-28 19:51:15 +00:00
Alfredo Delli Bovi e6285f0a9f
Update changelog (#4307) 2022-03-28 21:49:13 +02:00
adellibovi 3d39f96055 [Release] Tuist 2022-03-28 18:40:06 +00:00
Alfredo Delli Bovi fae352af9b
Refactor release generation (#4296)
* Automatic release

* Reset changelog for next release
2022-03-28 20:36:59 +02:00
Mustafa Yusuf c17de84bc7
fix project generation from spm dependency with custom configs (#4259)
* fix project generation from spm dependency with custom configs

* add change requests for #4259

* remove logic around default configurations, update package info mapper tests

* update cache version to 2.0.0

* Revert bumping cacheVersion

Co-authored-by: fortmarek <marekfort@me.com>
2022-03-27 22:15:06 +02:00
Kas 34aa5de022
Fix for incorrect bundle when using generated resource accessors (#4258)
resolves: https://github.com/tuist/tuist/issues/4257

- The bug appears to be related to using an incorrect `Bundle`
- Static products / frameworks in general do not support resources out of the box
- Tuist adds support for them by creating a dedicated resources bundle `<TargetName>Resources` as well as generate the code to access said bundle _(modelled and inspired after how Swift Package Manager does it!)_
- Tuist leverages SwiftGen to generate code for resource accessors _(e.g. for fonts, xcassets etc...)_
- This is achieved via a number of stencil templates
- Some of the templates allow specifying the bundle as a parameter
- This parameter was missing! causing the fallback to the default `Bundle` in the templates which only works with dynamic frameworks or applications
- The bundle name is now passed along to the templates
  - There is a small caveat, in the case where bundle accessors are disabled (the code that accesses finds / accesses the bundle) - in that case we omit the bundle name as it won't be present and would have otherwise caused a compilation failure

Test Plan:

- Generate the static frameworks fixture

```sh
swift build
swift run tuist generate --path ./projects/tuist/fixtures/ios_app_with_static_frameworks_with_resources
```

- Verify the generate resource accessors for Module `A` reference the correct bundle (`Bundle.module`)
- Build and run the application
- Verify the custom font file loads on screen without any issues
2022-03-27 18:41:10 +01:00
Daniele Formichelli 0a4c59b00a
fix: fix warnings when generating SwiftPackageManager dependencies with Swift 5.6 (#4261)
* fix: fix warnings when generating SwiftPackageManager dependencies with Swift 5.6

* fix: fix compilation error

* fix: fix compilation error

* fix: fix compilation error

* fix: fix tests
2022-03-25 18:22:20 +01:00
Alfredo Delli Bovi 6001d23278
Add support for SPM dependencies with Core Data models (#4237)
* Improve opaque folders detection like xcdatamodeld, docc and playground

* Add test_isInOpaqueDirectory

* Add code review comment

* Add fixture for CoreData example

* chore: lint

* Fix duplicated core data models in build phase

* Build to specific simulator

Co-authored-by: Daniele Formichelli <df@bendingspoons.com>
2022-03-22 12:50:59 +01:00
Marek Fořt a72d6ae855
Cloud optional (#4262)
* Add optional option to cloud cache

* Set up optional cloud

* Format code

* Revert Package.resolved changes

* Allow other hosts

* Add change log

* Fix tests

* Fix acceptance tests
2022-03-22 08:40:31 +01:00
Alfredo Delli Bovi 376ef2fc43
Fix ignored Workspace generation when Project exists on the same directory (#4236) 2022-03-12 21:05:33 +01:00
Paul Samuels 433e6c5760 Update CHANGELOG.md 2022-03-04 23:42:47 +00:00
github-actions[bot] 098602cc40
[Release] Tuist 3.0.1 - Bravissimo (#4208)
Co-authored-by: danyf90 <danyf90@users.noreply.github.com>
2022-03-04 10:24:57 +01:00
Daniele Formichelli 210ec6a33b
Fix linking of transitive frameworks (#4200)
* feat: improve fixture to show problem

* Fix lint

* chore: add failing scenario to the fixture

* chore: linting

* Fix linking with transitive precompiled static frameworks

* Add changelog

* Update ios_app_with_transitive_project to static framework

Co-authored-by: Alfredo Delli Bovi <alfredo.dellibovi@gmail.com>
2022-03-04 09:37:53 +01:00
Marek Fořt c6e44b3f31
Fix/plugins graph (#4204)
* Fix getting graph in ProjectAutomation

* Update documentation for tasks

* Update changelog and release

* Update RELEASE.md

* Update Sources/ProjectAutomation/Tuist.swift

Co-authored-by: ezraberch <49635435+ezraberch@users.noreply.github.com>

* Update projects/docs/docs/commands/plugin.md

Co-authored-by: ezraberch <49635435+ezraberch@users.noreply.github.com>

* docs: add ProjectDescription to release steps

Co-authored-by: ezraberch <49635435+ezraberch@users.noreply.github.com>
Co-authored-by: Daniele Formichelli <df@bendingspoons.com>
2022-03-03 08:43:14 +01:00
Diogo Autilio 4b36ee812d
Add two new SettingsTransformers, DebugInformationFormat and MarketingVersion (#4194) 2022-02-28 21:13:52 +01:00
github-actions[bot] 9d950742a5
[Release] Tuist 3.0.0 - Bravo (#4182)
* [Release] Tuist 3.0.0 - Bravo

* chore: fix release script errors

Co-authored-by: danyf90 <danyf90@users.noreply.github.com>
Co-authored-by: Daniele Formichelli <df@bendingspoons.com>
2022-02-22 16:04:40 +01:00
kyungpyoda 10a9da63fc
feat: Add swiftOptimizeObjectLifetimes method to SettingsDictionary extension (#4171)
* feat: Add swiftOptimizeObjectLifetimes method to SettingsDictionary extension

- to enable `Optimize Object Lifetimes`

* docs: update `CHANGELOG.md` for #4171

- Add `swiftOptimizeObjectLifetimes(_ enabled:)` to SettingsDictionary extension to set `SWIFT_OPTIMIZE_OBJECT_LIFETIME` in Build Settings. [#4171](https://github.com/tuist/tuist/pull/4171) by [@kyungpyoda](https://github.com/kyungpyoda)
2022-02-21 18:19:39 +01:00
Kamil Harasimowicz 39395e9476
Add `isExternal` property to `ProjectAutomation.Project` and `TuistGraph.Project`. (#4155)
* [isExternal] Add `isExternal` property to `ProjectAutomation.Target` and `TuistGraph.Target`.

* [isExternal] Run `./fourier lint tuist --fix`.

* [isExternal] Update changelog.

* [isExternal] Add `isExternal` property to `ProjectAutomation.Project` and `TuistGraph.Project`.

* [isExternal] Fix changelog.

* [isExternal] Improve finding internal targets.

* [isExternal] Clean up.

* [isExternal] Improve finding internal targets.

* [isExternal] Fix unit tests.

* [isExternal] Update docs.

* [isExternal] Restore sidebar.

* [isExternal] Fix typo.

* [isExternal] Fix docs.
2022-02-17 15:42:25 +01:00
Alexander Weiß 8ee2dd87a6
fix: Fix DependenciesGraphControlling work with nested projects (#4157)
* fix: Fix DependenciesGraphControlling work with nested projects

Refs #4025

* chore: Remove debug code

* fix: Fix lint issues

* feat: Add nested project scenario to fixture testing

* feat: Add test scenario for generated nested project within workspace

* chore: Apply PR suggestions

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

* feat: Update fixtures to PR suggestions

* chore: Update CHANGELOG.md

* fix: Fix lint issues

* docs: update CHANGELOG.md

Co-authored-by: Daniele Formichelli <df@bendingspoons.com>
2022-02-16 08:59:57 +01:00
Alfredo Delli Bovi 78df71d593
Improve performance of `tuist generate` when cache is used by refactoring CacheGraphMutator (#4146)
* Refactor CacheGraphMutator

* Apply code review comments

* Treat bundles of user specified source targets must be treated as user specified source targets

* Revert "Treat bundles of user specified source targets must be treated as user specified source targets"

This reverts commit 32c4a89e1f.
2022-02-13 08:57:52 +01:00
Daniele Formichelli 3959b6cd39
Refactor/move options (#4131)
* feat: rename `-Project` scheme to `-Workspace`

* docs: update changelog

* feat: rename BuildGraphInspecting.projectSchemes

* feat: add support for configuring code coverage and testing options at the project level

* refactor: move workspace scheme generation options to workspace manifest

* fix: fix fixture

* chore: formatting

* chore: formatting

* docs: documentation

* chore: remove empty Config

* feat: change automatic schemes generation to byName

* fix: remove schemes from Tuist project description helpers

* fix: fix test

* fix: fix test

* fix: test

* fix: fix cache-frameworks acceptance test

* fix: acceptance

* fix: fix acceptance test

* refactor: use struct for Project.Options

* docs: add changelog entry

* refactor: use static func instead of init for Project.Options

* fix: disable automatic Xcode schemes for project editor

* refactor: move Workspace.GenerationOptions to separate file

* chore: formatting

* fix: fix meta tuist

* fix: fix tuist meta

* fix: fix project manifest dump test

* fix: fix project manifest dump test

* fix: generate missing workspace intermediate folder if needed

* fix: fix lockfiles

* fix: fix fixtures

* chore: format

* fix: fix test compilation error

* refactor: make enableXcodeSchemes a Bool?

* fix: fix ios_app_with_custom_workspace fixture

* docs: update docs

* refactor: more Workspace.GenerationOptions to separate file

* fix: fix tests

* chore: formattings

* refactor: change Config.generationOptions to be a struct

* fix: fix fixtures

* fix: fix compilation error

* fix: compilation error

* docs: changelog

* docs: fix docs

* fix: test compilation error

* fix: fix generate-3 fixture

* fix: fix test

* fix: fix tuist dump config test

* fix: fix test

* docs: fix doc

Co-authored-by: Marek Fořt <marekfort@me.com>

* chore: fix warnings

* refactor: move xcodeProjectName from Config.options to Project.options

* Revert "refactor: move xcodeProjectName from Config.options to Project.options"

This reverts commit 067bb7a48e.

* refactor: move disableShowEnvironmentVarsInScriptPhases from Config.options to Project.options

* feat: move lastXcodeUpgradeCheck to Workspace.options

* refactor: remove xcodeProjectName, organizationName, and developmentRegion from Config.generationOptions

* docs: changelog

* refactor: remove Config where not needed

* chore: invalidate GitHub action .build cache

* Revert "chore: invalidate GitHub action .build cache"

This reverts commit 91d3b78c2b.

* Revert "chore: fix warnings"

This reverts commit 3021a7ba2f.

* fix: compilation error

* fix: fix fixtures

* fix: fix broken tests

* chore: remove unused templateMacros

* feat: add back `developmentRegion` and `xcodeProjectName`

* chore: format

* chore: format

* Use forcedCacheDirectory even without Config.swift

* fix: fix tests

* fix: fix fixture

Co-authored-by: Marek Fořt <marekfort@me.com>
2022-02-12 19:09:57 +01:00
Daniele Formichelli 111d41ed52
refactor: use struct for Config.GenerationOptions (#4109)
* feat: rename `-Project` scheme to `-Workspace`

* docs: update changelog

* feat: rename BuildGraphInspecting.projectSchemes

* feat: add support for configuring code coverage and testing options at the project level

* refactor: move workspace scheme generation options to workspace manifest

* fix: fix fixture

* chore: formatting

* chore: formatting

* docs: documentation

* chore: remove empty Config

* feat: change automatic schemes generation to byName

* fix: remove schemes from Tuist project description helpers

* fix: fix test

* fix: fix test

* fix: test

* fix: fix cache-frameworks acceptance test

* fix: acceptance

* fix: fix acceptance test

* refactor: use struct for Project.Options

* docs: add changelog entry

* refactor: use static func instead of init for Project.Options

* fix: disable automatic Xcode schemes for project editor

* refactor: move Workspace.GenerationOptions to separate file

* chore: formatting

* fix: fix meta tuist

* fix: fix tuist meta

* fix: fix project manifest dump test

* fix: fix project manifest dump test

* fix: generate missing workspace intermediate folder if needed

* fix: fix lockfiles

* fix: fix fixtures

* chore: format

* fix: fix test compilation error

* refactor: make enableXcodeSchemes a Bool?

* fix: fix ios_app_with_custom_workspace fixture

* docs: update docs

* refactor: more Workspace.GenerationOptions to separate file

* fix: fix tests

* chore: formattings

* refactor: change Config.generationOptions to be a struct

* fix: fix fixtures

* fix: fix compilation error

* fix: compilation error

* docs: changelog

* docs: fix docs

* fix: test compilation error

* fix: fix generate-3 fixture

* fix: fix test

* fix: fix tuist dump config test

* fix: fix test

* docs: fix doc

Co-authored-by: Marek Fořt <marekfort@me.com>

* chore: remove unused templateMacros

* chore: format

* Use forcedCacheDirectory even without Config.swift

Co-authored-by: Marek Fořt <marekfort@me.com>
2022-02-12 14:40:38 +01:00
Luis Padron f1a965b031
Merge pull request #4134 from TheInkedEngineer/fix/framework-deployment-target 2022-02-10 17:12:00 -05:00
TheInkedEngineer 86a9985ccf Update CHANGELOG.md 2022-02-10 10:59:23 +01:00
Alfredo Delli Bovi 270c9b88d3
Update CHANGELOG.md
Co-authored-by: Daniele Formichelli <df@bendingspoons.com>
2022-02-10 08:47:58 +01:00
Luis Padron dfba366bfe fix: remove .swiftsourceinfo files from release archive 2022-02-09 18:11:47 -05:00