Skip to content
This repository has been archived by the owner on May 3, 2023. It is now read-only.

A SwiftPM build tool plugin for Swift's GYB code generator

License

Notifications You must be signed in to change notification settings

vapor-community/swift-gyb-build-tool

Repository files navigation

swift-gyb-build-tool

Makes Swift's gyb code generation tool available as a SwiftPM build tool plugin.

To use, first add the package as a dependency:

    dependencies: [
        ...
        .package(url: "https://github.com/vapor-community/swift-gyb-build-tool.git", from: "0.0.1"),
    ]

Then add the plugin to the target(s) which contain .gyb files:

    targets: [
        .executableTarget(
            name: "Run",
            dependencies: [
                ...
            ],
            plugins: [
                .plugin(name: "swift-gyb-build-tool", package: "swift-gyb-build-tool"),
            ]
        )
    ]

About

A SwiftPM build tool plugin for Swift's GYB code generator

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published