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

Installing via Mint, and then Homebrew still results in not being able to run .swifttemplate #713

Closed
gbrhaz opened this issue Dec 20, 2018 · 2 comments
Assignees

Comments

@gbrhaz
Copy link

gbrhaz commented Dec 20, 2018

I installed Sourcery 0.15.0 using Mint first, but since the AutoCodable template is a .swifttemplate, I decided to try with Homebrew instead.

Unfortunately, running 'mint uninstall sourcery' and then 'brew install sourcery' I still get the error

warning: Skipping template AutoCodable.swifttemplate. Swift templates are not supported when using Sourcery built with Swift Package Manager yet. Please use only Stencil or EJS templates. See #244 for details.

I have also tried deleting all known instances of sourcery in /usr/local and ~/Library/Caches/Homebrew

@ilyapuchka
Copy link
Collaborator

ilyapuchka commented Dec 20, 2018

@gbrhaz as the error message says swift templates are not supported by SMP builds (both Homebrew and Mint use it to build Sourcery binary from its sources).

@Liquidsoul have this constraint been lifted with #681 ? If yes, I suppose we need to drop this check and update docs to reflect it.

@Liquidsoul
Copy link
Collaborator

@ilyapuchka you are right, once a version with #681 is released, swift templates will be available when using SPM. I'll look into double-checking that fact and make the changes to drop the check alongside the docs update.

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

No branches or pull requests

3 participants