Commit graph

27 commits

Author SHA1 Message Date
Ross Goldberg
e9fcf2b254
Merge branch 'main' into upstream/releases/release-1.8.7
Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>

# Manual Merge Cleanup:
#	.actrc
#	.github/workflows/pr-checks.yml
#	.github/workflows/release.yml
#	Brewfile
#	script/test
#	script/version_bump

# Conflicts:
#	.github/workflows/build-test.yml
#	.gitignore
#	.swiftlint.yml
#	Brewfile.lock.json
#	Package.resolved
#	Sources/mas/Package.swift
#	Tests/masTests/.swiftlint.yml
#	script/bootstrap
#	script/build
#	script/format
#	script/lint
#	script/uninstall
#	script/version
2024-10-27 01:25:38 -04:00
Ross Goldberg
cab684ba60
Install swiftlint via Brewfile if macOS >= 13 (install breaks on macOS <= 12).
Only install `peripheryapp/periphery` tap if macOS >= 13 (install breaks on macOS <= 12).

Resolve #594

Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-10-24 07:49:43 -04:00
Ross Goldberg
967e8db9ba
Only install periphery from brew if macOS version is >= 13.
Resolve #580

Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-10-17 21:40:08 -04:00
Ross Goldberg
bc961cf0d9
Add trash to Brewfile.
Partial #576

Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-10-15 08:13:54 -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
Ben Chatelain
6a80ac3702
sd (1.0.0) 2024-03-10 08:06:51 -06:00
Ben Chatelain
08697a84cd 👢 Use mise to install tools 2024-02-18 14:05:02 -07:00
Chris Araman
ca8684a142
🔥 Remove swiftenv
It is unused in our scripts, and there's no arm64 build available in kylef/formulae.
2021-08-29 13:03:36 -07:00
Chris Araman
726b1868f2 🧹 Restore shellcheck (0.7.2) 2021-06-08 19:49:02 -07:00
Chris Araman
0b8acab235 🧹 Lint with periphery 2021-05-08 20:14:18 -07:00
Chris Araman
4848f422d6 🧹 Match swift-format to compiler version
Fixes #364.
2021-05-08 20:14:18 -07:00
Chris Araman
2bc19e3b9b
🖊 Lint markdown 2021-05-03 13:42:18 -07:00
Chris Araman
969f4e468c
📦 Declare Swift Package dependencies 2021-04-26 21:04:36 -07:00
Chris Araman
9add9a7e0e
🍺 Assume swiftlint has been installed 2021-03-28 18:05:12 -07:00
Chris Araman
04ffe2cac4
🍺 Install Swift linters via Homebrew instead of Mint 2021-03-28 14:13:27 -07:00
Chris Araman
7f3cb753b4
📜 Switch to shfmt 2021-03-28 14:11:05 -07:00
Ben Chatelain
f32ce49e19 Revert " Add swiftlint to Brewfile"
This reverts commit 48d27316f7.
2021-03-28 11:33:36 -07:00
Ben Chatelain
48d27316f7 Add swiftlint to Brewfile 2021-03-28 11:24:32 -07:00
Ben Chatelain
5abf2729c1 🍺 Specify tap for swiftenv 2021-03-28 11:06:36 -07:00
Ben Chatelain
87d3fc1056 Install carthage via Hombrew instead of Mint 2021-03-20 10:25:18 -07:00
Ben Chatelain
2c72df9cd8 swiftenv (1.4.0) 2021-03-20 08:58:29 -07:00
Ben Chatelain
5f772bc0a5 make (4.3) 2020-05-28 23:08:45 -06:00
Ben Chatelain
90f5b21c7c mint (0.14.2)
Use mint to install carthage, swiftformat, swiftlint
2020-04-25 12:48:35 -06:00
Ben Chatelain
1cbf055fa6 swiftformat 2019-01-26 20:25:53 -07:00
Ben Chatelain
fc1211f643 🚨📜 Add shellcheck 2019-01-15 18:15:55 -07:00
Ben Chatelain
2a16176874 Add swiftlint to brew bundle 2019-01-12 13:23:09 -07:00
Tony Arnold
eb64b17fe2
Add dependency on Carthage 2018-09-05 09:54:07 +10:00