kaandedeoglu / Shark

Swift CLI for strong-typing images, colors, storyboards, fonts and localizations
MIT License
381 stars 15 forks source link

Add options for controlling framework-specific code generation. #41

Closed mickeyl closed 2 years ago

mickeyl commented 2 years ago

As indicated in https://github.com/kaandedeoglu/Shark/issues/37, I really want Shark to support AppKit and SwiftUI.

This pull-request is the beginning of a series of changes where I rework the builders to take options and generate framework-specific helpers. I'm opening this pull request already so that we have the chance to talk about the directions it's taking.

This first patch just adds the --framework options and includes them in the FileBuilder.

mickeyl commented 2 years ago

Closing this here, as I'm developing it right here in https://github.com/kaandedeoglu/Shark/tree/wip/framework-specific-code-generation – discussion may happen in https://github.com/kaandedeoglu/Shark/issues/37