Zev Eisenberg
0294afdce9
Update test fixtures.
2024-03-15 08:58:42 -04:00
Liquidsoul
f26ae83349
fix: rake output:compile for XCAssets templates by removing lazy vars
...
The Swift compiler does not allow the use of @available on stored variables
anymore. This means that the `lazy var` used in the templates cannot be made
available only for certain OSes.
I have fixed the issue by removing the `lazy var` altogether. Compared to the
previous implementation, this introduces an overhead on every access to a
color. I could not find a way to keep the lazy var without droping old OSes.
2024-03-08 22:31:18 +01:00
David Jennes
759cc111df
Generate output
2022-08-12 01:50:08 +02:00
David Jennes
a1abd52533
Generate output
2022-08-03 18:00:04 +02:00
David Jennes
109154d074
Generate output
2022-08-02 21:18:01 +02:00
David Jennes
cf98363749
Add more test cases
2022-08-02 21:17:59 +02:00
David Jennes
17f16dbb6d
Reimplement comments parser
2022-08-02 21:17:56 +02:00
David Jennes
cd4adb6302
Generate output
2022-08-01 15:43:54 +02:00
David Jennes
bfabcab0ee
Add test case
2022-08-01 15:41:55 +02:00
David Jennes
3945867505
Switch to Difference package for nicer testing error output
2022-07-31 16:26:16 +02:00
David Jennes
0eb0dec554
Switch to Stencil's LazyValueWrapper
2022-07-31 16:26:14 +02:00
David Jennes
8937add253
Font getter
2022-07-30 21:15:18 +02:00
David Jennes
937d05fa32
Symbol getter
2022-07-30 21:15:17 +02:00
David Jennes
a5d71dbfe4
Image getter
2022-07-30 21:15:15 +02:00
David Jennes
fc5511cf8d
Color getter
2022-07-30 21:15:13 +02:00
David Jennes
4d1d3591c7
Bump year
2022-07-30 20:47:39 +02:00
David Jennes
804b0ef777
XCAssets: deprecate allValues template parameter
2022-07-30 04:51:19 +02:00
David Jennes
16f83b793c
Tiny output change
2022-07-30 04:41:50 +02:00
David Jennes
f106ec0c12
Default to modern spacing for built-in templates
2022-07-30 04:41:47 +02:00
David Jennes
da4d1b11a9
Add mechanism to switch to new (smart) space trimming
2022-07-30 04:41:45 +02:00
David Jennes
96c220611a
Generate output
2022-07-27 00:12:07 +02:00
David Jennes
f3671c479d
Update output generation test case
2022-07-27 00:12:06 +02:00
David Jennes
cbc0c287aa
Extra test case (for quote escape)
2022-07-27 00:12:05 +02:00
David Jennes
8722257649
Regenerate output
2022-07-26 02:58:00 +02:00
David Jennes
2e0b3f4aa5
Add test cases
2022-07-26 02:57:58 +02:00
David Jennes
071ecc6db3
Regenerate output
2022-07-26 02:46:48 +02:00
David Jennes
a7ecaacdbd
Fix issues in tests
2022-07-26 02:46:46 +02:00
David Jennes
9554ed00a4
Same change for tests
2022-07-26 01:24:23 +02:00
David Jennes
56605572de
Generate output
2022-07-23 15:21:38 +02:00
Craig Siemens
7a486d9fca
Added tests for parsing comments from a strings file.
2022-07-23 15:21:36 +02:00
David Jennes
f15b903f15
Generate output
2022-07-23 02:21:47 +02:00
David Jennes
dea3d0a305
Add test case
2022-07-23 02:21:45 +02:00
David Jennes
5e4c98b728
Stop compiling swift4 output
2022-07-22 16:43:12 +02:00
David Jennes
fa923f0bfd
Adapt test cases to check this
2022-07-22 03:47:32 +02:00
Guilherme Souza
13f40380c9
Update test fixtures
2022-07-21 16:14:11 +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
a7d344a607
Generate output
2021-04-12 02:15:54 +02:00
szotp
a5cbadf6ef
#821 use documentation comments for objc-h
2021-04-12 00:45:13 +02:00
David Jennes
23a5dffa03
Create a TestUtils package (and move all fixtures in there)
2021-04-11 21:24:47 +02:00