Commit graph

34 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
f08f0a37d7
Improve bootstrap.
Partial #580

Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-10-17 21:39:56 -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
34ab84f30e
🚨 Format scripts and yaml 2024-03-31 11:05:04 -06:00
Ben Chatelain
28dcc76ec1
🚨 Resolve linter errors 2024-03-31 10:11:02 -06:00
Ben Chatelain
9ae76659a3
🔇 Remove getops logging 2024-03-30 11:40:42 -06:00
Ben Chatelain
1b7d6fd81b
🔨 Add frozen (-f) option to bootstrap script
GHA jobs use -f so pinned version of tools are installed, if necessary.

New bootstrap-update make target upgrades tools
2024-03-30 11:03:55 -06:00
Ben Chatelain
ebfd624935 🔥 Remove experimental mise subcommands 2024-02-18 18:25:28 -07:00
Ben Chatelain
4d5816cbc3 🔊 Log mise config 2024-02-18 14:43:20 -07:00
Ben Chatelain
973b32853e 🔊 Enable mise verbose output 2024-02-18 14:24:53 -07:00
Ben Chatelain
08697a84cd 👢 Use mise to install tools 2024-02-18 14:05:02 -07:00
Chris Araman
dac61a3d4f 🚧 Remove Danger Ruby gem 2021-11-29 17:03:03 -08:00
Chris Araman
726b1868f2 🧹 Restore shellcheck (0.7.2) 2021-06-08 19:49:02 -07:00
Ben Chatelain
cec804279e 📜 Conditionally install swiftlint when not running on CI 2021-05-06 21:03:17 -06:00
Chris Araman
5a2d7717c9
♻️ Remove generated source file 2021-04-28 22:56:34 -07:00
Chris Araman
969f4e468c
📦 Declare Swift Package dependencies 2021-04-26 21:04:36 -07:00
Chris Araman
15142c5aa7
📜 Update bootstrap description 2021-03-28 14:15:16 -07:00
Chris Araman
42de2ff4be
🍺 Wipe Brewfile.lock.json when bootstrapping 2021-03-28 14:15:13 -07:00
Chris Araman
04ffe2cac4
🍺 Install Swift linters via Homebrew instead of Mint 2021-03-28 14:13:27 -07:00
Ben Chatelain
8578769c70 🔥 Remove mint from bootstrap script 2021-03-28 11:24:20 -07:00
Ben Chatelain
2b9ee3e78b 👷🏻 Fixes for CI bootstrap
- Prevent brew update
- Remove sort script
2021-03-14 17:00:28 -07:00
Ben Chatelain
2d3d543f3d 🌱 Link mint packages globally 2021-03-14 16:45:02 -07:00
Ben Chatelain
7437d8183b 🐛 Set MINT_PATH so jenkins user can install to dir it owns 2020-04-25 15:19:14 -06:00
Ben Chatelain
0b29f13803 👷🏻‍♀️ Add clean to bootstrap 2020-04-25 14:07:28 -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
e4123a5653 💡 Add file header doc comments to scripts 2019-01-18 21:37:51 -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
Tony Arnold
8113d00fe2
Remove CocoaPods from project 2018-09-05 09:44:50 +10:00
Ben Chatelain
7766b9d0c3 ♻️ Refactor scripts to place all artifacts under ./build 2018-07-04 19:55:28 -06:00
Ben Chatelain
00414fd826 🔧 Update scripts 2018-07-04 18:25:59 -06:00
Andrew Naylor
f4a984768d Ensure sed doesn't save backups 2016-09-24 17:07:15 +01:00
Andrew Naylor
934a597415 Bootstrap before Travis build 2015-08-22 19:30:14 +08:00
Renamed from script/prepare (Browse further)