Commit graph

24 commits

Author SHA1 Message Date
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
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)