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

Move Sources parsing to new SourceryParser target #928

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

## Internal changes
- Removes manual parsing of `TypeName`, only explicit parser / configuration is now used
- Moved `Sources` processing to new SourceryParser framework target

## 1.3.4
## Fixes
Expand Down
8 changes: 8 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ let package = Package(
],
products: [
.executable(name: "sourcery", targets: ["Sourcery"]),
.library(name: "SourceryParser", targets: ["SourceryParser"]),
.library(name: "SourceryRuntime", targets: ["SourceryRuntime"]),
.library(name: "SourceryStencil", targets: ["SourceryStencil"]),
.library(name: "SourceryJS", targets: ["SourceryJS"]),
Expand All @@ -28,6 +29,7 @@ let package = Package(
],
targets: [
.target(name: "Sourcery", dependencies: [
"SourceryParser",
"SourceryFramework",
"SourceryRuntime",
"SourceryStencil",
Expand All @@ -38,6 +40,12 @@ let package = Package(
"Yams",
"StencilSwiftKit",
"SwiftSyntax",
]),
.target(name: "SourceryParser", dependencies: [
"SourceryFramework",
"SourceryRuntime",
"PathKit",
"Yams",
"XcodeProj",
"TryCatch",
]),
Expand Down
4 changes: 4 additions & 0 deletions Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,7 @@ end
target 'SourceryFramework' do
pathkit
end

target 'SourceryParser' do
pathkit
end
2 changes: 1 addition & 1 deletion Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,6 @@ SPEC CHECKSUMS:
xcodeproj: 760cfd754df4cfac71ec86b1cbdd6075f9fd3102
Yams: 9d49b85824751ee13d31e9ec6617c4dfb9a8c3cd

PODFILE CHECKSUM: 53232264d2ea3889cc7168839639589c41eeb9a0
PODFILE CHECKSUM: 7efbc06b2f57b68f6e30a3302a8aadbcda689978

COCOAPODS: 1.9.3
2 changes: 1 addition & 1 deletion Pods/Manifest.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

739 changes: 455 additions & 284 deletions Pods/Pods.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.