0.0.15 • Published 9 years ago
generator-swift v0.0.15
generator-swift

A generator for opensource swift
Getting Started
- Dependencies
- Node.js:
brew install nodefor macOSchoco install nodejsfor Windows OS
- Yeoman:
npm install -g yo
- Node.js:
Install:
npm install -g generator-swift
Usage
- yo swift shows a wizard for generating a new swift app or library
- For using swiftlint must install this with:
brew install swiftlint
- For using swiftlint must install this with:
Template projects
Full, template based projects available in generator:
- Empty Application
- Console Application
Class Library
Additional for the Console Application and the Class Library
Now its provided a gulpfile for do an lintcheck for the swiftfile's This is only available on macOS. Init with
npm install- Call with
gulpdo a linkcheck and build - Call with
gulp lintonly the lintcheck.
Subcommand available:
swift:class- Create a new class template in the Sources Directoryswift:classnameThe new class nameswift:classpath/namewrite the template in the subdirectory
- Call with
License
Apache-2.0 © Jürgen Mülbert