David Jennes
4d1d3591c7
Bump year
2022-07-30 20:47:39 +02:00
David Jennes
e7c4cf6560
Merge branch 'develop' into feature/file-resources
...
# Conflicts:
# .swiftpm/xcode/xcshareddata/xcschemes/swiftgen.xcscheme
# Sources/SwiftGenCLI/templates/files/flat-swift4.stencil
# Sources/SwiftGenCLI/templates/files/flat-swift5.stencil
# Sources/SwiftGenCLI/templates/files/structured-swift4.stencil
# Sources/SwiftGenCLI/templates/files/structured-swift5.stencil
# Sources/TestUtils/TestsHelper+Context.swift
# SwiftGen.xcodeproj/project.pbxproj
# Tests/TemplatesTests/TestsHelper.swift
2021-04-12 04:50:18 +02:00
David Jennes
79126d9d28
Rework parser to generate groups, drop the custom options
2020-10-18 01:26:09 +02:00
Mike Gray
3dcdb37f17
Use searchAndParse for test
2020-08-30 19:34:41 -04:00
Mike Gray
fd3821e884
Add test for single file. Cleanup templates
2020-08-30 17:21:14 -04:00
Mike Gray
06d0693eb3
Add parser options relativeTo and compact
...
- `relativeTo` allows explicitly specifying a directory parsed files should be in relation to
- `compact` eliminates nested common ancestors where the directory only contains another directory
2020-08-30 16:48:24 -04:00
Mike Gray
239350884e
Remove structured option in favor of template manipulation
...
- Don't use a parser option to affect the output of the context
- Only output structured data in the context
- Handle context manipulation in the template, i.e. flattening the hierarchy
2020-08-29 16:59:34 -04:00
Mike Gray
2888a1cdfa
Add structured directory context and template
2020-08-29 13:33:55 -04:00
Mike Gray
ffff9dddb0
Change path string to components array. Drop parent directory
2020-08-29 11:05:58 -04:00
Mike Gray
a8da9e67b7
[WIP] Renamed Resources to Files
...
- Add `path` and `mimeType` to `File` type
- Recursively parse files
- Start writing tests for parser
2020-07-31 18:37:42 -04:00