Commit graph

10 commits

Author SHA1 Message Date
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
425b935c2c 🚧 Remove use of xcpretty 2021-11-29 17:03:03 -08:00
Chris Araman
15ffe067a0
🚨 Fail CI task if tests fail 2021-05-12 12:16:25 -07:00
Chris Araman
c93694017f
📜 Build Swift Package from scripts 2021-04-28 19:14:15 -07:00
Chris Araman
64695e2457
📜 Lint 2021-03-28 14:12:02 -07:00
Ben Chatelain
e4123a5653 💡 Add file header doc comments to scripts 2019-01-18 21:37:51 -07:00
Ben Chatelain
6e002b79ce
Merge branch 'master' into pkg 2019-01-03 16:33:58 -08:00
Ben Chatelain
f20935517f 🔇 Disable command echo from scripts 2019-01-03 15:30:33 -08:00
Ben Chatelain
b9fdd95d78 🔊 Fix test script log message 2018-12-28 21:19:37 -08:00
Ben Chatelain
81289c4057 Add test script 2018-12-19 21:04:35 -07:00