Skip to content

jmuelbert/generator-swift

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

generator-swift

A generator for opensource swift


Gitpod-Ready-Code Codacy Badge ![NPM version][npm-image] Dependency Status Coverage percentage GitHub All Releases License pre-commit Help wanted issues

Features | Documentation | Changelog | Contributing | FAQ | deutsch

Getting Started

  • Dependencies
    • Install Node.js on macOS

        install node
    • Install Node.js on Windows OS

         choco install nodejs
    • Yeoman: npm install -g yo

    • 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

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 `gulp`do a linkcheck and build
- Call with `gulp lint`only the lintcheck.

Subcommand available:

- `swift:class` - Create a new class template in the Sources Directory
    - `swift:class` `name` The new class name
    - `swift:class` `path/name` write the template in the subdirectory

License

Apache-2.0 © Jürgen Mülbert

Return to top