splendo / kaluga-swiftui

5 stars 0 forks source link

Added new Button/Label styles + ColorObservable is now available only under kaluga resources #9

Closed carmelogallo closed 3 years ago

avdyushin commented 3 years ago

Now includeResources is used for the whole templates you've added. So then it's false then new generated files will be just empty. It has no sense. What if we can put that templates under stencils/resources and include this path inside *.yml on demand:

templates:
  - ./stencils/
  - ./stencils/resources

Then it will include resource relates templates / generate files

carmelogallo commented 3 years ago

Now includeResources is used for the whole templates you've added. So then it's false then new generated files will be just empty. It has no sense. What if we can put that templates under stencils/resources and include this path inside *.yml on demand:

templates:
  - ./stencils/
  - ./stencils/resources

Then it will include resource relates templates / generate files

@avdyushin File won't be empty since Sourcery won't add the file :)

avdyushin commented 3 years ago

Now includeResources is used for the whole templates you've added. So then it's false then new generated files will be just empty. It has no sense. What if we can put that templates under stencils/resources and include this path inside *.yml on demand:

templates:
  - ./stencils/
  - ./stencils/resources

Then it will include resource relates templates / generate files

@avdyushin File won't be empty since Sourcery won't add the file :)

But it will be generated right? Eventually it can be configure to be added into Xcode project automatically (no need to drag'n'drop). So I'd prefer not to see empty files at all :)

carmelogallo commented 3 years ago

But it will be generated right? Eventually it can be configure to be added into Xcode project automatically (no need to drag'n'drop). So I'd prefer not to see empty files at all :)

No. That's the point. Sourcery won't generate the file at all :)

avdyushin commented 3 years ago

But it will be generated right? Eventually it can be configure to be added into Xcode project automatically (no need to drag'n'drop). So I'd prefer not to see empty files at all :)

No. That's the point. Sourcery won't generate the file at all :)

Ah, nice, fine by me then