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

Update SwiftTemplate to make possible to edit Package.swift #1163

Merged
merged 1 commit into from
Apr 24, 2023

Conversation

k-o-d-e-n
Copy link
Contributor

Motivation:

Existing template engines are limited and inconvenient, I would like to use the full power of Swift when creating templates, in particular to connect third-party libraries.

Solution:

All you need now is to disable overwriting of Package.swift to be able to edit it

Impact on existing behavior:

None.


Crash with invalid URL in task.currentDirectoryURL has also been fixed and manifest has been updated to version 5.7.

An example of using a third-party library to generate code in Sourcery can be viewed here

@krzysztofzablocki krzysztofzablocki merged commit c925e03 into krzysztofzablocki:master Apr 24, 2023
@krzysztofzablocki
Copy link
Owner

nice 🙇

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.

2 participants