NSHipster / Swift Gyb
Licence: mit
Evaluates and runs a Swift GYB script
Stars: ✭ 64
Programming Languages
swift
15916 projects
swift-gyb
Evaluates and runs a Swift GYB script.
Disclaimer: I wouldn’t recommend using this for much beyond quick code generation and testing existing GYB templates in your project. For anything more significant, you might instead consider Sourcery.
Installation
Install swift-gyb
with Homebrew
using the following command:
$ brew install nshipster/formulae/swift-gyb
Usage
// hello.swift.gyb
%{ names = ['Johnny', 'Jane'] }%
% for name in names:
print("Hello, ${name}!")
% end
$ swift gyb ./hello.swift.gyb
Hello, Johnny!
Hello, Jane!
License
MIT
Contact
NSHipster (@NSHipster)
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].