Commit Graph

31 Commits

Author SHA1 Message Date
Łukasz Lech dd5d42a06d
Add local tuist plugin to `tuist init` generated project (#4388)
* Add task files to default init template

* Add templates directory to tuist workflow

* Add ProjectDescriptionHelper to default plugin

* Add stencils to swiftui template

Co-authored-by: Łukasz Lech <lukasz.lech@angrynerds.pl>
2022-05-10 08:51:37 +02:00
Pedro Piñera Buendía 247d98db4b
Release 2.0 (#3374)
* [2.0] Remove cocoapods dependency (#3369)

* Remove the .cocoapods target dependency

* Remove fixture

* Update the documentation

* Remove more CocoaPods references

* Document why we dropped CocoaPods' API

* [2.0] Remove support for deprecated names of manifests (#3373)

* [remove-deprecatedFileName] remove - `Manifest.deprecatedFileName`

* [remove-deprecatedFileName] fix - adjusting codebase after removing `Manifest.deprecatedFileName`

* [remove-deprecatedFileName] remove - `app_with_old_config_name` fixture

* [remove-deprecatedFileName] fix - acceptance tests

* [remove-deprecatedFileName] fix - acceptance tests

* [remove-deprecatedFileName] change - update changelog

* [remove-deprecatedFileName] change - update changelog

* [remove-deprecatedFileName] fix - unit tests

* [remove-deprecatedFileName] change - update docs

* [remove-deprecatedFileName] change - update changelog

* [remove-deprecatedFileName] fix - acceptance tests

* [remove-deprecatedFileName] fix - acceptance tests

* [remove-deprecatedFileName] fix - acceptance tests

* [remove-deprecatedFileName] change - update changelog

* chore: remove deprecated methods (#3381)

* chore: remove deprecated methods

* fix: fixture compilation error

* fix: remove deprecated xcFramework usage

* fix: fix default template

* fix: fix SwiftUI template

* [2.0] Simplify TestAction's API (#3375)

* Simplify the TestActions public interface to initialize a test action

* Test PresetBuildConfiguration's codable

* Update the CHANGELOG.md

* Make constructors private and add a missing .targets method

* Some interface improvements

* Update CHANGELOG.md

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

* Some style fixes

* Fix the initialization logic

* Update CHANGELOG.md

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

* Update Sources/ProjectDescription/TestAction.swift

Co-authored-by: Kas <kwridan@users.noreply.github.com>

* Update Sources/ProjectDescription/TestAction.swift

Co-authored-by: Kas <kwridan@users.noreply.github.com>

* Fix acceptance tests

* Fix acceptance test

Co-authored-by: Pedro Piñera <pepibumur@gmail.com>
Co-authored-by: Luis Padron <luis.padron@compass.com>
Co-authored-by: Marek Fořt <marekfort@me.com>
Co-authored-by: Kas <kwridan@users.noreply.github.com>

* [2.0] Remove "tuist doc" (#3401)

* Update cocoapods to version 1.11.0 (#3397)

* Update autoprefixer to version 10.3.4 (#3403)

Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>

* Update gatsby-plugin-robots-txt to version 1.6.10 (#3404)

Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>

* Improve tests of LinkGeneratorTests (#3409)

* Refactor LinkGeneratorTests to mock graphTraverser

* Fix format

* docs: add MarvinNazari as a contributor for code (#3422)

* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>

* 📦[Dependencies][SPM] Wire exclude to resources (#3305)

* Update tailwindcss to version 2.2.14 (#3428)

Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>

* Update tailwindcss to version 2.2.15 (#3434)

Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>

* Added Xcode 12.5.1 to tests and also made this version the default one. (#3427)

* changed and added Xcode 12.5.1

* text Xcode 13

* changed to runs-on: macOS-11

* some fixes

* removed duplicate

* Rebuild static framework

* Rebuild static framework in ios_app_with_static_frameworks

* Rebuild static framework in ios_app_with_static_frameworks

* Rebuild static framework in ios_app_with_transitive_framework

* Rebuild static framework in ios_app_with_transitive_framework macOS

* Execute `tuist` without `swift run` when executing acceptance tests

* Fix `generate yields` step

Co-authored-by: Stefan Fessler <Stefan.Fessler@external.erstegroup.com>
Co-authored-by: apps4everyone <stefan@apps4everyone.at>
Co-authored-by: Alfredo Delli Bovi <alfredo.dellibovi@gmail.com>

* Update prettier to version 2.4.0 (#3429)

Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>

* [fix-acceptance-tests] fix - `Feature: Tuist dependencies.` (#3426)

* [fix-acceptance-tests] fix - `Feature: Tuist dependencies.`

* [fix-acceptance-tests] fix - `Feature: Tuist dependencies.`

* [fix-acceptance-tests] fix - `Feature: Tuist dependencies.`

* feat: add support for .tuistignore in tuist edit command (#3415)

* Improve manifest detection and `tuist edit` performance by inspecting manifest signature (#3416)

* Improve execution time for Acceptance Tests on CI (#3435)

* Fix compilation issue

* [2.0] Remove PresetBuildConfiguration in favour of ConfigurationName  (#3400)

* [2.0] Remove "tuist doc" (#3401)

* Update autoprefixer to version 10.3.4 (#3403)

Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>

* Update gatsby-plugin-robots-txt to version 1.6.10 (#3404)

Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>

* Add ConfigurationName and remove PresetBuildConfiguration

We are removing PresetBuildConfiguration in favor of ConfigurationName.
As part of this effort, I've also changed the public interfaces of the `XXAction.swift`
files to make the `init` internals and get some flexibility to improve the APIs in the future
without introducing breaking changes.

* Fix acceptance tests

* Update CHANGELOG

* Fix acceptance tests

* Fix acceptance test

* Fix RunAction

Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>

* [2.0] Remove up (#3443)

* Remove up command

* Remove up from the sidebar

* Update the CHANGELOG

* Fix tests

* [2.0] Move test action options from `TestAction` to `TestActionOptions` (#3458)

* Move options from TestAction to TestActionOptions

* Fix broken integrations

* Update changelog with migration steps

Co-authored-by: Kassem Wridan <kwridan@bloomberg.net>

* Start writing the blog post about 2.0 release

* Add more content to the blog post

* Finish up the blog post for the 2.0 release

* Remove yarn.lock

* Add excerpt

* feat: remove automatic bundles and tests focus (#3501)

* feat: remove automatic bundles and tests focus

* chore: remove unused testTargetsDependingOn

* chore: update focus feature tests

* refactor: remove deprecated environment variables (#3493)

* refactor: remove deprecated environment variables

* fix: compilation errors

* 2.0 Flat configuration and custom configuration  (#3457)

* Fix missing test property (#3520)

- During some of the 2.0 changes to schemes we accidentally stopped propagating the `coverage` flag
- This didn't impact any production functionality as it was within an unused test utility

* Update projects/website/markdown/posts/2021-09-21-tuist-2.0/post.mdx

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

* Update projects/website/markdown/posts/2021-09-21-tuist-2.0/post.mdx

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

* Update projects/website/markdown/posts/2021-09-21-tuist-2.0/post.mdx

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

* Update projects/website/markdown/posts/2021-09-21-tuist-2.0/post.mdx

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

* Address comment

* Version the documentation

* Remove secrets

* Remove CocoaPods from the documentation

* Rename targetAction to targetScript

* Update rubocop to version 1.22.0 (#3525)

Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>

* feat: improve performance loading Package.swift in parallel (#3529)

* Update the CHANGELOG

* Revert Package.resolved changes

* Fix building the website

* Some renames to scripts

* Fix tests

* Update the style of the header

Co-authored-by: Kamil Harasimowicz <kamil.harasimowicz@gmail.com>
Co-authored-by: Daniele Formichelli <df@bendingspoons.com>
Co-authored-by: Luis Padron <luis.padron@compass.com>
Co-authored-by: Marek Fořt <marekfort@me.com>
Co-authored-by: Kas <kwridan@users.noreply.github.com>
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
Co-authored-by: Alfredo Delli Bovi <alfredo.dellibovi@gmail.com>
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
Co-authored-by: apps4everyone <stefan@apps4everyone.at>
Co-authored-by: Stefan Fessler <Stefan.Fessler@external.erstegroup.com>
Co-authored-by: Kassem Wridan <kwridan@bloomberg.net>
2021-10-02 12:23:08 +02:00
Marek Fořt 09344774cf
Add wrap arguments swiftformat option (#2606)
* Add wrap arguments before-first format option.

* Run style correct.

* Edit CHANGELOG.
2021-03-04 11:54:03 +01:00
Roman Podymov 7fab5f8070
Using @main (#2222)
* @main

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update AppDelegate.stencil
2021-01-03 11:16:58 +01:00
Daniel Jankowski d250c5408a
The default generated project does not include a LaunchScreen storyboard (#1911)
* The default generated project does not include a LaunchScreen storyboard

* Fix a location of LaunchScreen.stencil

* Support launch screen per platform
2020-10-19 10:27:41 +02:00
Daniel Jankowski ac4a0d5acf
Require the Config.swift file to be in the Tuist directory (#1903)
* Require the Config.swift file to be in the Tuist directory

* Add a path attribute to the Config model and restore EnvironmentLinting interface

* Update the init command to generate the Config.swift file under Tuist directory

* Restore the missing dot in a changelog entry after solving the conflicts

* Fix formatting and support all Xcode versions by default in Config stencil
2020-10-18 10:04:19 +02:00
Pedro Piñera Buendía b528d98a3a
Change the template to have a consistent directory structure (#1710)
* Change the template to have a consistent directory structure

* Add tests to the frameworks

* Fix SwiftUI template
2020-08-29 12:50:14 +02:00
Andrea Cipriani ad709379f6
Fix format (#1707) 2020-08-27 14:17:54 -04:00
Andrea Cipriani af27a6efaf
Update tuist init templates (#1689)
* Update tuist init templates

* Fix swiftui template

* Address PR Comments
2020-08-25 16:17:10 -04:00
Marek Fořt fce1fc2b9a
Bugfix/templates (#1600)
* Use name of template instead of Template.swift.

* Rename Template.swift in rest of documetnation.

* Fix tests.

* Add documentation for fileName method.

* Update changelog.

* Reformat code.

* Fix CachedManifestLoaderTests.
2020-08-06 23:07:19 +02:00
Pedro Piñera Buendía 068a0ca19f
From Cloud to Scale (#1571)
* Rename TuistCloud to TuistScale

* Rename Cloud to Scale

* Add Intercom

* Add legal documents

* Include cookies banner

* Move FAQ into the documentation

* Rename Cloud to Scale

* Cache frameworks locally if scale is not configured

* Fix tests

* Support passing a path to tuist focus

* Update CHANGELOG

* Move warm and print-hashes under 'tuist cache'

* Move the caching configuration to usage

* Hide scale documentation

* Fix z position of the banner

Co-authored-by: Pedro Piñera <pedro@ppinera.es>
2020-07-17 21:59:45 +02:00
Marek Fořt c1fcfed17b
SwiftUI Template (#1180)
* Change templatePath from String to Path.

* Refactor template content into .stencil files.

* Move shared templates out of default directory.

* Add swiftui template.

* Add fixture for swiftui template.

* Fix SceneDelegate issues.

* Fix macos init.

* Run swiftformat.

* Address minor changes.

* Edit changelog.
2020-04-08 13:27:32 +02:00
Pedro Piñera e5d617004c Generate a tests file 2020-03-31 11:54:24 +02:00
Marek Fořt 3cefc82ffb Add Derived folder to generated .gitignore. 2020-03-30 18:48:35 +02:00
Pedro Piñera 6f0e6f6bce Change the template to leverage project description helpers 2020-03-27 11:11:29 +01:00
Pedro Piñera a5f8aa6489 Add test that ensures that the projects that we generate with the framework template compile 2020-03-27 10:56:13 +01:00
Marek Fořt 56116bdf96 Remove example project stencil file extension. 2020-03-26 17:45:52 +01:00
Marek Fořt b195abbbb1 Render only files with stencil extension. 2020-03-26 17:41:29 +01:00
Marek Fořt a92bff3d97
Merge pull request #1149 from tuist/scaffold_example_template
Generate example template.
2020-03-26 07:29:29 +01:00
Pedro Piñera 77b92e9465 Fix config name 2020-03-26 05:41:41 +01:00
Marek Fořt ecb84e0e12 Generate example template. 2020-03-25 21:34:15 +01:00
Marek Fořt a9f6b8b107 Move templates directory. 2020-03-22 18:22:55 +01:00
Marek Fořt 1f07c30b39 Merge TemplateDescription and ProjectDescription. 2020-03-03 16:17:24 +01:00
Marek Fořt 59209f844a Fix scaffold using swift run. 2020-03-01 16:52:01 +01:00
Marek Fořt 47a1ff62fd Add TuistTemplate tests. 2020-03-01 15:29:01 +01:00
Marek Fořt fafd6269d0 Fix default template to be the same as InitCommand. 2020-02-29 13:15:41 +01:00
Marek Fořt 50288825c2 Better error handling for generated file. 2020-02-27 21:23:46 +01:00
Marek Fořt 0baba42440 Add remaining files for default template. 2020-02-27 19:19:29 +01:00
Marek Fořt 5e16102083 Fix generated file. 2020-02-26 14:19:43 +01:00
Marek Fořt 889b55973c Update generated file to content. 2020-02-26 14:00:52 +01:00
Marek Fořt 7f8cbd1303 Build TemplateDescriptionHelpers. 2020-02-25 21:17:34 +01:00