Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#349] Add the domain and data layers as targets (modules) in the project #536

Merged
merged 5 commits into from
Dec 21, 2023

Conversation

phongvhd93
Copy link
Contributor

What happened 👀

  • Bring Data and Domain layers to separate targets. And fix the issue that tests only run 2 app-level tests (UT and KIF)

Insight 📝

  • Moved Data, Domain and needed files to Modules folder.
  • Update Tuist to be able to generate modules from configs (Modules enum)
  • In buildAndTest lane, I've removed the configuration that only runs {ProjectName}Tests and {ProjectNameKIFTests}. Now, all the test targets will be executed if they are configured in schemes.

Proof Of Work 📹

Kapture.2023-10-23.at.22.56.07.mp4

@phongvhd93 phongvhd93 added this to the 4.10.0 milestone Oct 24, 2023
@phongvhd93 phongvhd93 self-assigned this Oct 24, 2023
@phongvhd93 phongvhd93 force-pushed the feature/#349-modular-data-and-domain branch 2 times, most recently from c04be60 to 6d56662 Compare October 24, 2023 04:37
@blyscuit
Copy link
Collaborator

Great work 🤩

Copy link
Contributor

@markgravity markgravity left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great!! 🙏

@blyscuit
Copy link
Collaborator

blyscuit commented Nov 1, 2023

Small documentation would be great for the newly added modules 🙏

Copy link
Collaborator

@blyscuit blyscuit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Only clarify the comments.

@phongvhd93 phongvhd93 force-pushed the feature/#349-modular-data-and-domain branch from 6d56662 to 43846f7 Compare November 6, 2023 13:29
@phongvhd93 phongvhd93 requested a review from blyscuit November 6, 2023 13:29
@phongvhd93
Copy link
Contributor Author

Small documentation would be great for the newly added modules 🙏

I'm going to create another PR for updating document

@phongvhd93 phongvhd93 force-pushed the feature/#349-modular-data-and-domain branch from 43846f7 to 41f9b85 Compare November 17, 2023 10:31
@phongvhd93 phongvhd93 requested a review from suho November 22, 2023 09:28
Copy link
Contributor

@vnntsu vnntsu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are some minor suggestion 🤝

Tuist/Interfaces/SwiftUI/Project/Podfile Outdated Show resolved Hide resolved
Tuist/ProjectDescriptionHelpers/Module.swift Outdated Show resolved Hide resolved
Tuist/ProjectDescriptionHelpers/Scheme+Initializing.swift Outdated Show resolved Hide resolved
@phongvhd93 phongvhd93 force-pushed the feature/#349-modular-data-and-domain branch from a732c17 to fcec223 Compare December 5, 2023 02:19
@phongvhd93 phongvhd93 requested a review from vnntsu December 5, 2023 02:19
@blyscuit
Copy link
Collaborator

@vnntsu This looks ready to merge. Let me know if you are good with the new changes 🙏

Copy link
Contributor

@vnntsu vnntsu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@phongvhd93 phongvhd93 force-pushed the feature/#349-modular-data-and-domain branch from fcec223 to c86637e Compare December 15, 2023 07:09
@blyscuit blyscuit merged commit 1897bcc into develop Dec 21, 2023
4 checks passed
@blyscuit blyscuit deleted the feature/#349-modular-data-and-domain branch December 21, 2023 02:32
@blyscuit blyscuit mentioned this pull request Dec 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants