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

Modularize Package.swift #27

Merged
merged 13 commits into from
Oct 11, 2024
Merged

Modularize Package.swift #27

merged 13 commits into from
Oct 11, 2024

Conversation

goergisn
Copy link
Contributor

@goergisn goergisn commented Oct 10, 2024

Summary

  • Modularizing into multiple targets to encapsulate logic

Target structure

Executable Targets

  • CommandLineTool

Public Modules

  • PADProjectBuilder
    • Fetches remote projects (optional)
    • Archives projects
    • Inspects the Package.swift (optional)
    • Produces a list of SwiftInterfaceFiles, package-changes + warnings
  • PADSwiftInterfaceAnalyzer
    • Takes a list of SwiftInterfaceFiles
    • Produces a list of changes per SwiftInterfaceFile
  • PADOutputGenerator
    • Generates output for changes & warnings

Shared/Public

  • PADCore
    • Containing shared types
  • PADLogging
    • Everything about logging

Shared/Package

  • FileHandlingModule
    • Everything regarding file handling
  • ShellModule
    • Interacting with the shell

@goergisn goergisn changed the base branch from main to swiftinterface-file-support October 10, 2024 14:07
@goergisn goergisn marked this pull request as ready for review October 11, 2024 10:45
@goergisn goergisn merged commit 6ec7920 into swiftinterface-file-support Oct 11, 2024
1 check passed
@goergisn goergisn deleted the modularize branch October 11, 2024 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant