Skip to content

Code generator and model.json builder for the ObjectBox database library. This is currently a quick fork off of Sourcery.

License

Notifications You must be signed in to change notification settings

objectbox/objectbox-swift-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ObjectBox Swift Generator

This is a fork of sourcery modified to be used as the ObjectBox Swift model file and code generator for the ObjectBox Swift SDK.

See the Getting Started page on how to use the ObjectBox Swift SDK.

Development

This is a Swift Package.

Recent changes are documented in the changelog.

SwiftLint is added as a build tool plugin (it runs as part of build).

# Build
swift build

# Run swiftlint from the command line
swift package plugin --allow-writing-to-package-directory swiftlint

# Run unit tests
swift test

Additional generator tests exist in the Swift SDK repository (look for "CodeGenTests"). They use the release artifact discussed below.

Releasing

An application archive for use by the Swift SDK is produced using _build.command.

About

Code generator and model.json builder for the ObjectBox database library. This is currently a quick fork off of Sourcery.

Resources

License

Code of conduct

Stars

Watchers

Forks

Sponsor this project

  •  

Packages

No packages published

Contributors 165