-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathswiftgen.yml
19 lines (18 loc) · 1.28 KB
/
swiftgen.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
## In case your config entries all use a common input/output parent directory, you can specify those here.
## Every input/output paths in the rest of the config will then be expressed relative to these.
## Those two top-level keys are optional and default to "." (the directory of the config file).
input_dir: Sources/AppcuesKit/Presentation/
output_dir: Sources/AppcuesKit/Presentation/Generated/
## Generate constants for your Assets Catalogs, including constants for images, colors, ARKit resources, etc.
## This example also shows how to provide additional parameters to your template to customize the output.
## - Especially the `forceProvidesNamespaces: true` param forces to create sub-namespace for each folder/group used in your Asset Catalogs, even the ones without "Provides Namespace". Without this param, SwiftGen only generates sub-namespaces for folders/groups which have the "Provides Namespace" box checked in the Inspector pane.
## - To know which params are supported for a template, use `swiftgen template doc xcassets swift5` to open the template documentation on GitHub.
xcassets:
inputs:
- Assets.xcassets
outputs:
- templateName: swift5
params:
forceProvidesNamespaces: true
bundle: Appcues.resourceBundle
output: Asset+Generated.swift