Commit Graph

626 Commits

Author SHA1 Message Date
Kas 0bbdd4cfed
Commands now use `Generator` component (#242)
Part of: #205

- To ease the migration of classes to the generator library, the generator is added to `TuistKit` temporarily
  - This component will later move to `TuistGenerator`
- This allows decoupling commands from the workspace generator / graph related classes
- `GraphLoader` no longer depends on the `GraphManifestLoader`
- Focus command no longer has a `--config` option as it's no longer used

Test Plan:

- Ensure unit tests pass `swift test`
- Ensure acceptance tests pass `bundle exec rake features`
- Navigate to any of the fixtures and test out `tuist focus`
2019-02-24 18:36:26 +00:00
Kas 718ba08431
Model / linter tidy ups (#241)
- `Workspace` and `Scheme` are now decoupled from manifests json
- `ProjectLinter` no longer requires the `UpLinter`
- Adding scheme conversion from `ProjectDescriotion` to `TuistKit` models

Test Plan:

- Verify unit tests continue to pass
2019-02-23 21:08:05 +00:00
Kas 441ac4b88b
Decoupling Models from Manifests JSON (#237)
- Introducing a `GeneratorModelLoader` component responsible for obtaining the model objects required by the `TuistGenerator` library
- To support this, the models are being decoupled from the manifest definitions (and the JSON representation)
- The conversion between the manifest and model types takes place within the model loader

Test Plan:

- Ensure unit tests continue to pass `swift test`
- Ensure acceptance tests pass `bundle exec rake features`
- Verify projects within the `fixtures` directory are still correctly generated when performing `tuist generate`
2019-02-22 07:09:29 +00:00
Oliver Atkinson 2987e5922e
Merge pull request #230 from tuist/remove-yaml
Remove YAML and JSON project specification
2019-02-21 17:20:36 +00:00
Oliver Atkinson 6cecc4ba00 When failing ensure we print the error message 2019-02-21 17:07:18 +00:00
Oliver Atkinson 105ccea129 Remove errornous Yams import 2019-02-21 17:07:18 +00:00
Oliver Atkinson 6a21abff0c Update CHANGELOG.md 2019-02-21 17:07:18 +00:00
Oliver Atkinson cdaf181651 Add integration tests for Workspace Generator 2019-02-21 17:04:17 +00:00
Oliver Atkinson dd5c4152a1 Remove YAML project specification, add Setup.swift and Workspace.swift to the generated workspace file 2019-02-21 17:04:17 +00:00
Oliver Atkinson c05893acb7
Merge pull request #194 from tuist/static-framework
Support Static Frameworks inside the project manifest as product types
2019-02-21 16:45:04 +00:00
Oliver Atkinson 9208923783 rm .gitignore 2019-02-21 15:47:23 +00:00
Oliver Atkinson 95cb78b014 Update CHANGELOG.md 2019-02-21 15:43:37 +00:00
Oliver Atkinson 8de3712a44 Create feature test for ios_app with static frameworks 2019-02-21 15:40:27 +00:00
Oliver Atkinson 1599e8d173 Initial work to introduce static frameworks as a build option 2019-02-21 15:33:53 +00:00
Oliver Atkinson fe976321d4
Merge pull request #210 from tuist/sample_transistive_dependencies_cucumber_test
Add acceptance tests for generate command - transitive static
2019-02-21 14:59:09 +00:00
Oliver Atkinson e5e4614b50
Update CHANGELOG.md 2019-02-21 14:45:19 +00:00
Oliver Atkinson 762685a1c4 Update fixtures/README.md 2019-02-21 14:38:21 +00:00
Oliver Atkinson 2f63735fb1 Add cucumber test for transistive static 2019-02-21 14:34:46 +00:00
Pedro Piñera 8e0e6d42a9 Update Package.resolved 2019-02-21 08:52:00 -05:00
Oliver Atkinson 7470a092a7
Merge pull request #232 from tuist/update-dangerfile-documentation-link
Update Dangerfile with new documentation link
2019-02-20 21:35:23 +00:00
Pedro Piñera Buendía bf0e520d38
Add Kassem and Marcin as core contributors (#233) 2019-02-19 18:23:10 -05:00
Oliver Atkinson a2803b2d52 Update Dangerfile with new documentation link 2019-02-19 14:00:36 +00:00
Pedro Piñera Buendía 49595536cf
Add Oliver as a core member (#231) 2019-02-19 07:22:02 -05:00
Pedro Piñera Buendía f57dbd247d
Merge contribution documents into the repository (#229)
* Merge contribution documents into the repository

* Add missing sentence

* Update changelog
2019-02-19 06:43:28 -05:00
Oliver Atkinson 77632b28dc
Merge pull request #225 from tuist/fix-swift-4.2-buildsetting
Change the swift version to 4.2
2019-02-18 15:48:39 +00:00
Oliver Atkinson e455cef382 Update CHANGELOG.md 2019-02-18 13:59:56 +00:00
Oliver Atkinson 8e0ffcf72e Fix swift 4.2 compile error inside of fixture tests 2019-02-18 13:52:10 +00:00
Oliver Atkinson 840035b947 Change the swift version to 4.2
Why:

* 4.2.1 is an invalid specification for SWIFT_VERSION.
2019-02-18 13:52:09 +00:00
Pedro Piñera Buendía 92f37c4390
Generate a scheme with all the project targets (#226)
* Generate project scheme

* Test the generation of the project scheme

* Sort the targets based on the dependencies between them

* Add acceptance tests

* Address comments

* Update changelog and fix Dangerfile
2019-02-18 08:52:07 -05:00
Pedro Piñera Buendía d6ae3e4783
Rename manifest group and target (#227)
* Rename the group and the target that includes the manifest file

* Name the group Manifest

* Update changelog

* Fix tests
2019-02-18 05:54:18 -05:00
Pedro Piñera Buendía f945cf6281
Remove up attribute from the Project model (#228)
* Remove up attribute from the Project model

* Don't include the up attribute in the manifest generated by the init command

* Update changelog
2019-02-18 05:44:28 -05:00
Pedro Piñera Buendía 515e8d9871
Update managing-versions.md 2019-02-17 14:29:35 -05:00
Pedro Piñera Buendía bddc4b6b07
Update dependencies.md 2019-02-17 14:28:22 -05:00
Pedro Piñera Buendía 8c746098fb
Update up.md 2019-02-17 14:27:35 -05:00
Pedro Piñera Buendía 3ee10e7ac5
Add FAQ document (#223)
* Add frequently asked questions document

* Addres comments

* Update CHANGELOG
2019-02-16 08:47:25 +01:00
Kas 710a32c142 Introducing `TuistGenerator` (#224)
- Adding a new library `TuistGenerator` with stubbed implementation

Test Plan:

- Ensure Tuist continues to build `swift build`
- Ensure unit tests pass `swift test`
2019-02-16 08:34:07 +01:00
Marcin Iwanicki ba11371224 Add acceptance tests for generate command (#208)
* Add integration tests for an app with 2 dynamic frameworks

* Add acceptance test for missing manifest case

* Bring back all tests for generate command

* Fix validation of the missing manifest error message

* Use meaningful folder names in fixtures

* Fix integration issues

* Update CHANGELOG.md

* Add ios_ prefix to fixtures folders

* Remove tuist.rb.orig

* Fix issues found by Robocop
2019-02-16 08:31:55 +01:00
Pedro Piñera ba617cb1b3 Fix most recent changelog entry 2019-02-14 20:19:52 +01:00
Pedro Piñera 80bcc38a20 Version 0.11.0 2019-02-14 20:17:17 +01:00
Pedro Piñera 8e237afdf9 Merge branch 'merge-documentation' 2019-02-14 20:14:39 +01:00
Pedro Piñera 612cedfc40 Some adjustments 2019-02-14 20:12:56 +01:00
Pedro Piñera Buendía b95950ad9f
Merge documentation (#222)
* Dete the documentation that was generated by jazzy

We don't see value in generating documentation for internal interfaces so we decided to remove the Jazzy auto-generated documentation and bring the documentation from the tuist/documentation repository into this one.

* Delete references to Open Collective and include a documentation section that lets user know about the documentation folder.

* Remove the step to generate the documentation from the release steps

* Merge documentation from the documentation repository

* Update CHANGELOG

* Address comments
2019-02-14 20:09:02 +01:00
Pedro Piñera d6eac17156 Address comments 2019-02-14 19:54:55 +01:00
Pedro Piñera 88bc062d35 Update CHANGELOG 2019-02-14 19:11:12 +01:00
Pedro Piñera 0ff4f342b0 Merge documentation from the documentation repository 2019-02-14 19:07:02 +01:00
Pedro Piñera 6347b6b7b7 Remove the step to generate the documentation from the release steps 2019-02-14 19:03:07 +01:00
Pedro Piñera 330e7076a7 Delete references to Open Collective and include a documentation section that lets user know about the documentation folder. 2019-02-14 19:02:32 +01:00
Pedro Piñera 1fe90db9a9 Dete the documentation that was generated by jazzy
We don't see value in generating documentation for internal interfaces so we decided to remove the Jazzy auto-generated documentation and bring the documentation from the tuist/documentation repository into this one.
2019-02-14 19:01:31 +01:00
Pedro Piñera Buendía a54bf488f4
Lint that the bundle identifier has the right format (#219)
* Lint that the bundle identifier has the right format

* Narrow down the set of characters

* Bump Danger version

The version that we were using threw an error that ended up being reported to the PR.

* Update CHANGELOG
2019-02-14 18:57:14 +01:00
Pedro Piñera Buendía b622131d84
Fail init command right away if the directory is not empty (#218)
* Fail init commanad right away if the directory is not empty

* update changelog
2019-02-07 11:42:59 +01:00