Commit graph

36 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
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
666e505eb1 🎨 Format bash scripts 2024-02-18 08:22:24 -07:00
Ben Chatelain
96ff7ecdae 🔨 Install universal binary 2024-02-18 08:22:24 -07:00
Chris Araman
726b1868f2 🧹 Restore shellcheck (0.7.2) 2021-06-08 19:49:02 -07:00
Chris Araman
c177fa79a1
🛠 Make --universal a build option 2021-05-07 11:33:39 -07:00
Ben Chatelain
e1dbc653e5 🏝 Build args for brew sandbox
Fixes #363
2021-05-06 22:19:11 -06:00
Chris Araman
c93694017f
📜 Build Swift Package from scripts 2021-04-28 19:14:15 -07:00
Chris Araman
969f4e468c
📦 Declare Swift Package dependencies 2021-04-26 21:04:36 -07:00
Chris Araman
64695e2457
📜 Lint 2021-03-28 14:12:02 -07:00
Ben Chatelain
f3020090c8 🚨 Remove unused PROJECT variable 2020-06-07 13:16:00 -06:00
Ben Chatelain
a5ba02c3a7 📜 Build workspace instead of project 2020-06-05 12:21:30 -06:00
Ben Chatelain
9f0c4c8497 🔊 Log Xcode version from build 2020-05-24 21:18:05 -06:00
Ben Chatelain
e4123a5653 💡 Add file header doc comments to scripts 2019-01-18 21:37:51 -07:00
Ben Chatelain
63f7bab082 💚 Fix swiftlint script 2019-01-15 20:46:21 -07:00
Ben Chatelain
6850dac78e 📜 Use version script in other scripts 2019-01-13 00:58:51 -07:00
Ben Chatelain
f20935517f 🔇 Disable command echo from scripts 2019-01-03 15:30:33 -08:00
Ben Chatelain
d583e74951 📜 Make version dynamic in package script
Also call install script instead of separate xcodebuild install command

Fixes #179
2018-12-20 19:03:14 -07:00
Ben Chatelain
e591feb413 🔧 Remove gems from package script 2018-10-16 21:29:33 -06:00
Unknown
189240a752 📜 Update build scripts to include MasKit 2018-10-14 21:49:23 -06:00
Unknown
71d7ebe2e8 🔊 Show full xcodebuild commands 2018-10-14 16:05:31 -06:00
Tony Arnold
e7b4b48b06
Remove redundant clean action 2018-09-06 09:26:44 +10: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
dfbbeb015c 🏗️ Archive on all builds 2018-08-11 16:29:45 -06: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
Ben Chatelain
080afae204 Use release scheme in build script 2018-02-17 14:17:11 -07:00
Ben Chatelain
ca4edd4ea9 Invoke xcpretty through bundler 2018-01-26 19:51:01 -07:00
Ben Chatelain
69c6c11f34 Use long-form --color option 2017-05-23 12:00:13 -06:00
Ben Chatelain
e2ef2349c8 [build] Wrap long commands 2017-05-23 11:05:57 -06:00
Andrew Naylor
38e2ba7ffe Ensure Travis detects build status correctly 2015-12-31 01:40:52 +00:00
Andrew Naylor
c72fb162c7 Improve the README 2015-12-30 22:00:32 +00:00
Andrew Naylor
cabf18410b Package binaries for release on Travis 2015-09-20 11:23:36 +01:00
Andrew Naylor
c9e899544e Build Release bundle for jobs with $TRAVIS_TAG 2015-09-20 11:14:32 +01:00
Andrew Naylor
031908097e Rename the build script 2015-09-19 23:43:03 +01:00