Skip to content
This repository has been archived by the owner on Sep 16, 2022. It is now read-only.

polpielladev/sourcery-plugins

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SourceryPlugins

Use Sourcery as a code generator in your project as a Swift package's command plugin.

See: Blog post explaining how this works

Usage

Command line

To verify the plugin can be found by SwiftPM, use:

$ swift package --list

To run the code generator, you need to allow changes to the project with the --allow-writing-to-package-directory flag:

$ swift package --allow-writing-to-package-directory sourcery-code-generation

Xcode

Inside a project/package that uses this command plugin, right-click the project and select "SourceryCommand" from the "SourceryPlugins" menu group.

(Requires Xcode 14)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages