112 Commits

Author SHA1 Message Date
Cal Stephens afefbcc091 Apply formatting 2026-01-25 09:28:33 -08:00
Nick Lockwood 2dc338a585 Fix build warnings 2024-11-23 09:25:05 +00:00
Benedek Kozma 010d5be35f Use static Linux SDK in Dockerfile (#1915) 2024-10-27 14:19:36 +00:00
Nikolay Edigaryev 3c4dc6809c Standardize working directory path (#1317) 2022-12-03 21:55:26 +00:00
Nick Lockwood b5c7c45792 Update to Swift 5.1 2022-09-28 21:20:33 +01:00
MarkKoz 17f2765ad2 Use UCRT to compile on Windows 2022-03-15 21:58:09 +00:00
Nick Lockwood 24cfc478a7 Add serial print queue to fix out-of-order output 2019-12-16 09:04:19 +00:00
Nick Lockwood 32ba97ddb8 Fixed missing newlines in CLI output 2019-06-23 12:26:49 +01:00
Zac West 55cac4f9c7 Fix extra newline when printing content to stdout (#430) 2019-05-09 02:16:14 +01:00
Nick Lockwood fd029f002d Improved consistency of capitalization, etc in CLI 2019-03-14 19:56:59 +00:00
Nick Lockwood 5a136fc7db Updated for 0.38.0 release 2019-01-30 07:47:07 +00:00
Nick Lockwood 82f4c01e37 Added Linux support 2019-01-29 22:33:04 +00:00
Lassi Kortela a12211f8da Fixed stdout vs stderr tty detection (#334) 2018-12-17 13:22:01 +00:00
Nick Lockwood 2045b96b7a Info messages now go to stderr and not stdout 2018-12-13 09:31:58 +00:00
Nick Lockwood 659eb1fb1d Fixed TTY check when using stderr 2018-09-03 10:32:32 +01:00
Nick Lockwood a8535a56f2 Disabled ANSI formatting for non-terminal output 2018-08-20 21:39:13 +01:00
Nick Lockwood 33022364a2 Arguments file encoded() no longer throws 2018-07-30 13:47:13 +01:00
Michael McGuire 4b95e6b7a1 Adding ExitCode and returning either .ok or .error depending on result of call 2018-07-24 23:46:37 +02:00
Nick Lockwood 034b0e5bbd Fixed bug with removing space before . operator 2018-04-17 09:11:56 +01:00
Yonas Kolb e03531e494 only import SwiftFormat when compiling for Package 2018-04-13 13:50:20 +01:00
Yonas Kolb bde1992267 build with spm 2018-04-13 13:50:20 +01:00
Nick Lockwood 7e1d94b5c6 Added public CLI API 2017-11-29 18:32:10 +00:00
Nick Lockwood a74384c2ed Updated for 0.31.0 release 2017-11-24 22:41:42 +00:00
Nick Lockwood 1682be6716 Updated for 0.27.0 release 2017-03-17 21:25:06 +00:00
Nick Lockwood bfa570a3df Fixed rules not applied when reading from stdin 2017-02-09 09:08:21 +00:00
Nick Lockwood 7d2fdbf009 Fixed console colors 2017-01-14 00:44:58 +00:00
Nick Lockwood 76145940df Improved testability of command line 2017-01-14 00:44:37 +00:00
Nick Lockwood 5b7e30a9ad Updated for 0.23 release 2017-01-09 18:31:47 +00:00
Nick Lockwood 2894502df3 Improved error reporting 2017-01-09 18:08:35 +00:00
Nick Lockwood 08fe8cfb31 --inferoptions now works with multiple file paths 2017-01-06 23:29:29 +00:00
Nick Lockwood c48b6e7961 Added console colors 2017-01-06 23:13:22 +00:00
Nick Lockwood b26f00a63c More error reporting improvements 2017-01-06 19:12:24 +00:00
Nick Lockwood db55766411 Format rules are now sorted alphabetically 2017-01-06 18:08:49 +00:00
Nick Lockwood 03212f491c Improved error reporting 2017-01-06 18:07:53 +00:00
Nick Lockwood d2bd40740e Added parallel processing of multiple source files
* Formatting and inferrring now done in parallel (~2x speed bump)
* Processing is no longer abandonded after the first error
* Fixed incorrect error message for parsing errors
2017-01-05 23:28:32 +00:00
Nick Lockwood ba60505d53 Updated for 0.20 release 2016-12-09 08:59:33 +00:00
Nick Lockwood 0936a6e0d0 Renamed EnumerationOptions to FileOptions 2016-12-05 09:20:22 +00:00
Nick Lockwood b989d8ea57 Updated for 0.19 release 2016-12-02 22:21:59 +00:00
Nick Lockwood b40abe6d6d Added afterFirst wrap mode 2016-12-02 21:45:33 +00:00
Nick Lockwood 9c67bc3b9b Improved handling of symlinks/aliases 2016-12-02 21:45:33 +00:00
Nick Lockwood 9f5483f4f9 Improved error handling and fixed symlinks 2016-12-02 21:45:33 +00:00
Nick Lockwood 39aa669a93 Added --disable option for rules 2016-12-02 21:45:33 +00:00
Nick Lockwood 4edb54fe3a API improvements 2016-12-02 21:45:33 +00:00
Nick Lockwood 1838ee33f9 Added wrapelements option 2016-12-02 21:45:33 +00:00
Nick Lockwood 3f2c374158 Added wrapArguments rule 2016-12-02 21:45:32 +00:00
Nick Lockwood 9d40928388 Updated for 0.18 release 2016-11-17 08:49:48 +00:00
Nick Lockwood c0a136c022 Added hexLiterals rule 2016-11-16 09:18:08 +00:00
Nick Lockwood 6ea4e6485f Added inferoptions feature 2016-11-16 08:40:49 +00:00
Nick Lockwood 0d71d31388 Added ifdefIndentMode 2016-11-14 22:22:13 +00:00
Nick Lockwood 32a5cd06af Updated for 0.17.2 release 2016-11-11 09:12:23 +00:00