2747 Commits

Author SHA1 Message Date
David Jennes 7d772a85cc Merge pull request #1054 from ZevEisenberg/develop
Fix warnings in templates caused by SwiftLint 0.51.0
2024-03-15 17:25:41 +01:00
Zev Eisenberg 4037985e15 Remove superfluous enable command from generated files so they can be properly linted by tests. 2024-03-15 08:58:42 -04:00
Zev Eisenberg 3ba243e241 Update SwiftLint to 0.51.0. 2024-03-15 08:58:42 -04:00
Zev Eisenberg 0294afdce9 Update test fixtures. 2024-03-15 08:58:42 -04:00
Zev Eisenberg 0637789e68 Add // swiftlint:disable all to the bottom of all Swift templates. Stops warnings introduced by SwiftLint in https://github.com/realm/SwiftLint/pull/4731, released in SwiftLint 0.51.0. 2024-03-15 08:58:41 -04:00
David Jennes b9e4699738 Merge pull request #1081 from heyzooi/heyzooi-patch-1
#trivial Update SwiftLint-Integration.md to understand spaces in the swiftgen_colors regex
2024-03-15 03:05:33 +01:00
Liquidsoul 66745ca343 Fix develop changelog
Entries were on the 6.6.3 instead of being in the Develop section.
2024-03-14 23:33:33 +01:00
Sébastien Duperron 6c6e2b7ad7 Merge pull request #1108 from SwiftGen/bump/gems
Bump gems to their latest allowed versions using bundle update
2024-03-14 23:30:48 +01:00
Liquidsoul 4f05e5a5c9 Bump gems to their latest allowed versions using bundle update 2024-03-14 23:19:18 +01:00
Sébastien Duperron 719072ad69 Merge pull request #1107 from SwiftGen/fix/output-compilation/available-var-issue
fix: rake output:compile for XCAssets templates by removing lazy vars
2024-03-14 23:19:00 +01: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
Liquidsoul a6a6fb6346 Reset changelog 2024-03-02 21:51:48 +01:00
Sébastien Duperron f7c23b6305 Merge pull request #1106 from SwiftGen/release/6.6.3
Release 6.6.3
6.6.3
2024-03-02 21:48:35 +01:00
Liquidsoul 6e0562532d Prepare release 6.6.3 2024-03-02 13:37:39 +01:00
Sébastien Duperron 8dc4094563 Merge pull request #1105 from SwiftGen/fix/1030/build/min-xcode-version
Fix the rake cli:install command
2024-03-02 13:25:24 +01:00
Liquidsoul 1fe2b4a073 fix(build): make the requirement version a minimum version
Using `~> version` was blocking the version to the latest 13.x version of Xcode.
2024-03-02 11:52:01 +01:00
Liquidsoul 2c1d32414f style: Remove trailing whitespaces in utils.rake 2024-02-28 14:05:14 +01:00
Victor Hugo Barros 5cfc904245 Update SwiftLint-Integration.md to understand spaces in the swiftgen_colors regex 2023-09-29 10:04:41 -04:00
David Jennes 46a6c90700 Merge pull request #1008 from jszumski/feature/run-command-log-level
Added support for `--quiet` and `--verbose` flags to `swiftgen run`
2022-08-28 22:50:11 +02:00
John Szumski 47d30ae2a2 Added support for --quiet and --verbose flags to swiftgen run 2022-08-27 13:30:55 -04:00
David Jennes fc039d6e6f Reset changelog 2022-08-14 04:03:10 +02:00
David Jennes 1cf6d7eebd Publish task needs a macOS runner (because we're building SwiftGen as a step) 6.6.2 2022-08-13 15:01:33 +02:00
David Jennes 8b71bf09bf Merge pull request #999 from SwiftGen/release/6.6.2
Release 6.6.2
2022-08-13 14:53:05 +02:00
David Jennes 094d04f921 Prepare release 2022-08-12 02:05:04 +02:00
David Jennes 156b6e1fd0 Merge pull request #998 from SwiftGen/feature/fix-string-escape
Strings: fix escape sequences for translations (swift 5)
2022-08-12 02:01:02 +02:00
David Jennes c98f26e7de Changelog entry 2022-08-12 01:50:09 +02:00
David Jennes 759cc111df Generate output 2022-08-12 01:50:08 +02:00
David Jennes 7e13d64174 Remove raw strings from swift5 template, restore old string escape logic 2022-08-12 01:50:06 +02:00
David Jennes 45d0c3e653 Merge pull request #994 from bdrelling/develop
Bumped Yams to 5.0.1 #trivial
2022-08-12 01:49:18 +02:00
David Jennes eb3bdd5ca7 SwiftGenKit depends on Stencil (has for a while) 2022-08-12 01:37:18 +02:00
David Jennes 718831e234 Try to fix CI: ensure we run our CLI install test without cache 2022-08-12 01:37:16 +02:00
David Jennes 5589af0379 Ensure we use the right version of arg. parser 2022-08-10 23:54:00 +02:00
Brian Drelling dd2a902da4 Bumped Yams to 5.0.1 2022-08-08 18:07:49 -05:00
David Jennes 534015cdd2 Merge pull request #991 from SwiftGen/feature/fix-strings-objc
Strings: fix objc-m template (varargs)
2022-08-04 03:42:58 +02:00
David Jennes 4c5cc390e0 Changelog entry 2022-08-03 18:01:01 +02:00
David Jennes a1abd52533 Generate output 2022-08-03 18:00:04 +02:00
David Jennes e8588c3415 Fix template varargs starting parameter 2022-08-03 17:59:48 +02:00
David Jennes b35295b896 Merge pull request #989 from SwiftGen/feature/string-comments-parser
Strings: improve performance of new comments parser
2022-08-02 22:26:15 +02:00
David Jennes 631d3257c3 Changelog entry 2022-08-02 21:18:03 +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 eecf27730a Merge pull request #988 from SwiftGen/feature/strings-escaping
Strings: escape translation strings
2022-08-01 21:08:22 +02:00
David Jennes 860dc79a7e Changelog entry 2022-08-01 15:48:05 +02:00
David Jennes cd4adb6302 Generate output 2022-08-01 15:43:54 +02:00
David Jennes c11568b462 Handle tabs in translations 2022-08-01 15:42:03 +02:00
David Jennes e6a5b9f8ca Avoid issues with strings containing "# 2022-08-01 15:42:02 +02:00
David Jennes bfabcab0ee Add test case 2022-08-01 15:41:55 +02:00
David Jennes 00153504b9 Try to fix github release task 2022-08-01 00:04:43 +02:00
David Jennes a2a3248349 Reset changelog 2022-07-31 23:51:36 +02:00