Commit graph

30 commits

Author SHA1 Message Date
Ross Goldberg
705563ced9
Upgrade PromiseKit to 8.1.2.
Partial #613

Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-10-27 14:53:38 -04:00
Ross Goldberg
f83412bba1
Increase minimum macOS version to 10.13, since Swift 5.7 is already used, which requires Xcode 14+ to compile, which only supports macOS deployment targets 10.13+.
Use Swift 5.7.1, which is the newest version of Swift 5.7.

Resolve #578

Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-10-27 14:01:45 -04:00
Ross Goldberg
7cd8c1436b
Downgrade Nimble & Quick to fix testing on newer Xcode versions.
Resolve #583

Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-10-18 10:28:44 -04:00
Ross Goldberg
f8d7a36a4c
Upgrade test dependencies.
Quick upgrade necessary if we ever switch from PromiseKit to Swift concurrency.

Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-10-14 04:39:51 -04:00
Ross Goldberg
2535e3da42
Use Swift Argument Parser instead of Commandant.
Command structs are nested types of Mas.

Renamed structs.

Limit code visibility as much as possible.

Standardize variable names.

Standardize spacing.

Fix a few tests.

Disable a useless test.

Remove unnecessary test stdout output.

Get swift-format from Brewfile instead of from Package.swift
since swift-format depends on an old version of swift-argument-parser.

Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-10-14 03:44:11 -04:00
Ross Goldberg
d413d8cfa1
Move MasKit module to mas.
Move MasKitTests module to masTests.

Rename MasKit enum as Mas.

Upgrade swift-tools-version from 5.3 to 5.6.1.

swift-tools-version 5.5+ is necessary to allow test code to import executable target code,
to allow MasKit library code to be moved into the mas executable.

Upgrade to swift-tools-version to 5.6.1 instead of to 5.5 because they support all the same macOS versions.

Standardize comments.

Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-10-14 03:44:03 -04:00
Ross Goldberg
466ea67194
Improve scripts: bootstrap, build, format, lint, test & version.
Allow them to be run from any directory.

Call version from lint & test to create Package.swift with version info.

Fail when accessing unset variables.

Improve variable names.

Fix lint issues.

Improve lint & format scripts.

Don't require user input to continue linting.

Much cleaner lint output.

Reorder lint output.

Get swift-format from Brewfile instead of from Package.swift:

 - Speeds up linting.
 - Properly models dependency (not a code dependency).
 - swift-format depends on an old version of swift-argument-parser. Will refactor to use SAP soon.

Include some improvements from 1.8.7 PR.

Other scripts need improvement, too.

Resolve #545

Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-10-05 20:33:45 -04:00
Chris Araman
ad8d6fe1dd 🔍 Search for compatible iPad and iPhone apps 2024-02-17 14:04:01 -07:00
Chris Araman
c9378046a6 🦾 Check for Apple Silicon 2024-02-17 14:04:01 -07:00
Ross Goldberg
152b324d2d Use swift-format release/5.9 for Swift compiler 5.8+ 2024-02-05 02:52:45 -05:00
Ben Chatelain
8033470c83 ⬆️ Quick (5.0.1), Nimble (10.0.0) 2022-09-21 19:39:11 -06:00
Ben Chatelain
34e59350b0 ⬆️ swift-format (release/5.7) 2022-09-21 19:33:32 -06:00
Ben Chatelain
5707750eeb ⬆️ swift-format (release/5.6) 2022-07-04 15:09:07 -06:00
Chris Araman
707a925b26 ⬆️ PromiseKit (6.16.2) 2021-11-29 16:53:18 -08:00
Chris Araman
affb5f1b12
⬆️ PromiseKit (6.16.1) 2021-10-25 17:00:41 -07:00
Chris Araman
13bb4d1c57
⬆️ PromiseKit (6.16.0) 2021-09-25 10:21:23 -07:00
Chris Araman
e7b2ca88de
⬆️ Nimble (9.2.1) 2021-08-29 13:05:09 -07:00
Chris Araman
999158ef23
🧹 Enable linting with Xcode 13 beta 3 2021-07-26 14:49:39 -07:00
Chris Araman
d7dfe378f2 ⬆️ Periphery (2.5.2), SwiftFormat (0.48.4), Version (2.0.1) 2021-06-04 15:58:30 -07:00
Chris Araman
37dfbcf7a1
⬆️ Periphery (2.5.0), PromiseKit (6.15.3) 2021-05-28 11:41:12 -07:00
Chris Araman
6e8c7210a4
⬆️ PromiseKit (6.15.0) 2021-05-24 17:42:36 -07:00
Chris Araman
2a9c41aa37
⬆️ PromiseKit (6.14.0) 2021-05-24 14:00:56 -07:00
Ben Chatelain
59483ef34d
Merge branch 'main' into lint 2021-05-12 16:54:52 -06:00
Chris Araman
c372dbc9fd ⬆️ Nimble (9.2.0) 2021-05-12 15:49:09 -07:00
Chris Araman
0a7dc300f2
🧹 Match swift-format to compiler, not language version 2021-05-12 11:19:13 -07:00
Chris Araman
7952d0f18f
📦 Depend on PromiseKit 2021-05-08 20:16:14 -07:00
Chris Araman
4848f422d6 🧹 Match swift-format to compiler version
Fixes #364.
2021-05-08 20:14:18 -07:00
Chris Araman
aaee0031a5
⬆️ Quick (4.0.0), Nimble (9.1.0) 2021-05-07 18:01:30 -07:00
Chris Araman
5f1e3afc95
🦺 Remove redundant framework paths 2021-04-28 19:14:20 -07:00
Chris Araman
7a7f36ad9b
📦 Declare mas as a Swift Package 2021-04-26 21:19:30 -07:00