Commit Graph

29 Commits

Author SHA1 Message Date
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 c27dd931e5
Change the behaviour of the focus command (#1739)
* Change focus behavior

* Update documentation

* Fix the init template

* Fix style issues

* fix

* Update CHANGELOG

* Fix acceptance tests
2020-09-03 23:11:14 +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
Marek Fořt b3d3f66679
Drop App suffix in AppProject.stencil. (#1709)
* Drop App suffix in AppProject.stencil.

* Add templates to paths for checks.

* Move templates paths from checks to tuist.yml.

* Fix cache acceptance test.

* Remove no longer valid template from init.
2020-08-28 08:53:00 +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