SwiftGen 6.1.0

Created on 27 Jan 2019  路  2Comments  路  Source: SwiftGen/SwiftGen

Waiting on:

  • [x] Core Data @objc annotations #575
  • [x] Filter input files #570

Todo:

  • [x] Release and update StencilSwiftKit 2.7.2
  • [x] Update Kanna to 4.0.3
  • [x] Update podspec
  • [x] 鈿狅笍 Update the brew formula (output paths are okay, only new coredata command)

Most helpful comment

Brewfile changes:

  • Add fixture: "Tests/Fixtures/Resources/CoreData/Model.xcdatamodeld" => "Model.xcdatamodeld",
  • Add fixture: "Tests/Fixtures/Generated/CoreData/swift4-context-defaults.swift" => "coredata.swift",
  • Add test:
output = shell_output("#{bin}/swiftgen coredata --templatePath #{pkgshare/"templates/coredata/swift4.stencil"} #{fixtures}/Model.xcdatamodeld").strip
assert_equal output, (fixtures/"coredata.swift").read.strip, "swiftgen coredata failed"

The other fixture paths (for the other commands) are okay.

All 2 comments

Brewfile changes:

  • Add fixture: "Tests/Fixtures/Resources/CoreData/Model.xcdatamodeld" => "Model.xcdatamodeld",
  • Add fixture: "Tests/Fixtures/Generated/CoreData/swift4-context-defaults.swift" => "coredata.swift",
  • Add test:
output = shell_output("#{bin}/swiftgen coredata --templatePath #{pkgshare/"templates/coredata/swift4.stencil"} #{fixtures}/Model.xcdatamodeld").strip
assert_equal output, (fixtures/"coredata.swift").read.strip, "swiftgen coredata failed"

The other fixture paths (for the other commands) are okay.

Changes made in the brew formula, pending PR here

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gorbat-o picture gorbat-o  路  5Comments

filip-zielinski picture filip-zielinski  路  3Comments

gereons picture gereons  路  5Comments

embassem picture embassem  路  3Comments

marcelofabri picture marcelofabri  路  6Comments