Commit graph

257 commits

Author SHA1 Message Date
Chris Araman
c177fa79a1
🛠 Make --universal a build option 2021-05-07 11:33:39 -07:00
Chris Araman
3e88d28622
🗑 Remove mas.zip archive script 2021-05-07 11:32:32 -07:00
Ben Chatelain
e1dbc653e5 🏝 Build args for brew sandbox
Fixes #363
2021-05-06 22:19:11 -06:00
Ben Chatelain
bc7c332515 👽 Update core formula path
brew 3
2021-05-06 22:17:57 -06:00
Ben Chatelain
cec804279e 📜 Conditionally install swiftlint when not running on CI 2021-05-06 21:03:17 -06:00
Chris Araman
2bc19e3b9b
🖊 Lint markdown 2021-05-03 13:42:18 -07:00
Chris Araman
5a2d7717c9
♻️ Remove generated source file 2021-04-28 22:56:34 -07:00
Chris Araman
688900f4e8
🤖 Determine version from latest git tag 2021-04-28 22:51:33 -07:00
Chris Araman
a3e32656bc
🗜 Update mas.pkg build 2021-04-28 22:28:29 -07:00
Chris Araman
a45487ec9c
📜 Remove unused release script 2021-04-28 19:14:19 -07:00
Chris Araman
424db2ed3c
🧹 Update paths to sources 2021-04-28 19:14:18 -07:00
Chris Araman
c93694017f
📜 Build Swift Package from scripts 2021-04-28 19:14:15 -07:00
Chris Araman
5df17f7823
📦 Embed version string as Swift code 2021-04-28 12:22:08 -07:00
Chris Araman
7a7f36ad9b
📦 Declare mas as a Swift Package 2021-04-26 21:19:30 -07:00
Chris Araman
d287c5cfd6
🚧 Move sources to typical SPM locations 2021-04-26 21:04:37 -07:00
Chris Araman
969f4e468c
📦 Declare Swift Package dependencies 2021-04-26 21:04:36 -07:00
Ben Chatelain
97ca112a6f 🚨 Fix script format & lint issues 2021-03-28 22:09:52 -07:00
Ben Chatelain
0667919cfa 📜 Add OS version detection
Only big_sur and catalina allowed
2021-03-28 21:48:10 -07:00
Ben Chatelain
799c18e327 👌🏻 Use macOS uname syntax 2021-03-28 21:13:59 -07:00
Ben Chatelain
3d54be18ad 📜 Use uname to determine CPU 2021-03-28 20:05:00 -07:00
Ben Chatelain
eb76a2efa5 💪🏼 Add arm64_big_sur to bottle script
Fixes #333
2021-03-28 19:44:25 -07:00
Chris Araman
9add9a7e0e
🍺 Assume swiftlint has been installed 2021-03-28 18:05:12 -07:00
Chris Araman
5df8db3fd6
🧹 Separate format from lint 2021-03-28 17:16:37 -07:00
Chris Araman
af944e8caf
🧹 Emit a warning when a linter is not installed 2021-03-28 14:21:37 -07:00
Chris Araman
d5f262cb9d
🧹 Run script/lint when building from Xcode 2021-03-28 14:21:37 -07:00
Chris Araman
3bc25449b0
🧹 Lint with swiftformat 2021-03-28 14:21:37 -07:00
Chris Araman
df9730d65f
🧹 Lint with swift-format 2021-03-28 14:21:14 -07:00
Chris Araman
09d2e6d43d
🧹 Correct swiftlint violations automatically 2021-03-28 14:15:17 -07:00
Chris Araman
fc33738f0f
🧹 Use git diff --check as another linter 2021-03-28 14:15:17 -07:00
Chris Araman
05083da253
📜 Remove unused sort scripts 2021-03-28 14:15:17 -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
Chris Araman
64695e2457
📜 Lint 2021-03-28 14:12:02 -07:00
Chris Araman
7f3cb753b4
📜 Switch to shfmt 2021-03-28 14:11:05 -07:00
Ben Chatelain
fcc6bf1666 🔥 Mintfile 2021-03-28 13:39:05 -07:00
Ben Chatelain
8578769c70 🔥 Remove mint from bootstrap script 2021-03-28 11:24:20 -07:00
Ben Chatelain
ea8fd5b78d 🍼 Update bottle hashes 2021-03-20 12:24:38 -07:00
Ben Chatelain
8b3ce2efac 🔈 bottle script output cleanup 2021-03-20 12:11:38 -07:00
Ben Chatelain
95d76c3b77 📜 bottle script improvements 2021-03-20 11:27:05 -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
767fb7c388 🔖 Version 1.8.1 2021-03-14 16:51:37 -07:00
Ben Chatelain
2d3d543f3d 🌱 Link mint packages globally 2021-03-14 16:45:02 -07:00
Ben Chatelain
64ed0e4449 📜 Add arm64, update bottle block syntax in bottle script 2021-02-13 14:19:14 -07:00
Ben Chatelain
fc04cbf429 📜 Don’t format when running swiftlint 2021-02-13 13:55:53 -07:00
Ben Chatelain
7ee49ee584 📜 Add big_sur to bottle script 2021-02-13 11:46:53 -07:00
Ben Chatelain
51bc8dd8f0 🔖 Update version script 2021-02-13 11:27:24 -07:00
Chris Araman
e8cdd18748 🐛 Default PREFIX to /opt/homebrew on Apple Silicon (arm64) 2021-01-28 13:10:48 -08:00
Chris Araman
bcc1c1342f 🐛 Specify desired LD_RUNPATH_SEARCH_PATHS 2021-01-28 12:57:04 -08:00
Ben Chatelain
75e5133c9b 📜 Add brew_update script 2020-09-07 11:39:12 -06:00
Ben Chatelain
903b538f40 🐛 Stability fixes for bottle script 2020-09-07 11:37:46 -06:00
Ben Chatelain
76f72503ed 🐛 Fix dynamic REVISION in formula script 2020-09-07 11:37:46 -06:00
Ben Chatelain
ace9b94d43 📜 Add build_artifacts script 2020-09-07 11:37:46 -06:00
Ben Chatelain
4e86d46ab6 🔖 Version 1.7.1 2020-09-07 11:37:10 -06:00
Ben Chatelain
f37e6e0f96 🧹 Include Carthage/Build in clean script 2020-09-07 11:29:25 -06: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
e8f35e60fd 🚨 Remove unused var 2020-05-25 07:40:08 -06:00
Ben Chatelain
b1b43bc22d 🧹 Clean carthage cache in brew_formula_update 2020-05-24 23:24:14 -06:00
Ben Chatelain
014bf6a8be 📜 Add brew_release_validate script 2020-05-24 23:23:49 -06:00
Ben Chatelain
9f0c4c8497 🔊 Log Xcode version from build 2020-05-24 21:18:05 -06:00
Ben Chatelain
9dadbcae3a 🔖 Version 1.7.0 2020-05-24 13:21:52 -06:00
Ben Chatelain
539678b045 🚨 Enable autocorrect and format on every build 2020-05-14 21:33:47 -06:00
Ben Chatelain
70f0a6fd47 Merge branch 'master' into release-1.6.4
# Conflicts:
#	CHANGELOG.md
2020-05-12 22:52:24 -06:00
Ben Chatelain
4cfb3185b6 📜 Add catalina to bottle script 2020-05-11 22:01:50 -06:00
Ben Chatelain
4c356bb7a3 💩 Hard-code version in version script 2020-05-11 21:02:25 -06: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
8e82211a3c 📜 Purge Carthage cache and run uninstall from bottle script 2019-04-30 07:09:06 -06:00
Ben Chatelain
da56ee027b 🚨 Resolve lint issues in formula script 2019-04-06 15:40:45 -06:00
Ben Chatelain
3e6dafec47 📜 Add dry run args to final bump-formula-pr command when formula changes are pending 2019-03-31 22:00:29 -06:00
Ben Chatelain
54af1a2f5b 🚚 Rename brew_formula_update 2019-03-31 21:05:13 -06:00
Ben Chatelain
2ae6e8866c 📜 Add check for unreleased formula changes 2019-03-31 17:34:33 -06:00
Ben Chatelain
6c422dd3b5 Add brew_formula_bump script 2019-03-31 16:50:25 -06:00
Ben Chatelain
81934624e9 🚨 Switch back to command -v for class-dump detection 2019-03-30 10:06:44 -06:00
Ben Chatelain
8e8ecc1ac2 🛣️ Update path in headers script 2019-03-29 23:50:46 -06:00
Ben Chatelain
752da94a74 🔄Switch to which command 2019-03-29 23:43:18 -06:00
Ben Chatelain
e4123a5653 💡 Add file header doc comments to scripts 2019-01-18 21:37:51 -07:00
Ben Chatelain
fe03ab7727 👷🏻‍♀️ Invoke install script explicitly
Calling install from inside package is confusing
2019-01-18 18:38:41 -07:00
Ben Chatelain
63f7bab082 💚 Fix swiftlint script 2019-01-15 20:46:21 -07:00
Ben Chatelain
7e6e879b64 📜 Externalize swiftlint_runscript 2019-01-15 18:31:51 -07:00
Ben Chatelain
10cc6bd530 🚨 Resolve shellcheck findings 2019-01-15 18:31:35 -07:00
Ben Chatelain
fc1211f643 🚨📜 Add shellcheck 2019-01-15 18:15:55 -07:00
Ben Chatelain
71164014b1 💩🎨 Format bottle block with horrible bash logic 2019-01-13 01:24:22 -07:00
Ben Chatelain
6850dac78e 📜 Use version script in other scripts 2019-01-13 00:58:51 -07:00
Ben Chatelain
be665fc921 📜 Duplicate and rename bottle files 2019-01-13 00:48:55 -07:00
Ben Chatelain
f82111da55 📜 Add version script 2019-01-13 00:18:35 -07:00
Ben Chatelain
ee20ed1451 📜 Add bottle script 2019-01-13 00:15:55 -07:00
Ben Chatelain
8917a30175 🔫 Make danger executable 2019-01-12 18:47:11 -07:00
Ben Chatelain
d5b6e063e1 📜 Extract danger command into script 2019-01-12 18:33:44 -07:00
Ben Chatelain
803e321fe4 📜 Add lint script 2019-01-12 13:30:08 -07:00
Ben Chatelain
2a16176874 Add swiftlint to brew bundle 2019-01-12 13:23:09 -07:00
Ben Chatelain
464931f59e 📜 Use trash command to uninstall mas package 2019-01-11 23:01:46 -07:00
Ben Chatelain
a25fa17cda 🐛 Install to writable location on CI 2019-01-06 15:04:22 -07:00
Ben Chatelain
6e002b79ce
Merge branch 'master' into pkg 2019-01-03 16:33:58 -08:00
Ben Chatelain
d1ba43bdd9 🐛 Fix paths for building distribution package 2019-01-03 16:20:15 -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
3660365dd3 Remove xcpretty dependency from install script 2018-12-20 21:16:47 -07: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
7e3df0345f 📜 Use same xcodebuild arguments in install 2018-12-20 19:03:14 -07:00
Ben Chatelain
81289c4057 Add test script 2018-12-19 21:04:35 -07:00
Ben Chatelain
540bb19a3f 💀 Set execute perms on uninstall script 2018-10-17 17:26:01 -06:00
Ben Chatelain
457e2ab5ee 🔗 Update dylib links on install 2018-10-17 17:18:55 -06:00
Ben Chatelain
715bde70b3 ©️ Use ditto to copy files 2018-10-17 16:48:35 -06:00
Ben Chatelain
7180928859 Allow override of prefix 2018-10-17 16:18:30 -06:00
Ben Chatelain
ee1e6f23ea 🚚 Move files instead of copy 2018-10-17 15:57:57 -06:00
Ben Chatelain
a0d9b1a67c Add uninstall script 2018-10-17 15:47:08 -06:00
Ben Chatelain
d42010ba9a Add simple install script for homebrew 2018-10-17 15:43:02 -06:00
Ben Chatelain
55aa25193b 🚚 Rename package_install script 2018-10-17 15:23:22 -06:00
Ben Chatelain
37be80c2ac 🔇 Remove tree command 2018-10-16 21:49:28 -06:00
Ben Chatelain
3c52a7844c 🍌 Split out archive script 2018-10-16 21:45:07 -06:00
Ben Chatelain
e591feb413 🔧 Remove gems from package script 2018-10-16 21:29:33 -06:00
Ben Chatelain
817bab29b5 🔊 Show package info after install 2018-10-16 17:47:29 -06:00
Ben Chatelain
08ba0d42cf 🔖 Version 1.4.3 2018-10-16 16:26:27 -06:00
Ben Chatelain
b04cf3be33 Add install script 2018-10-16 15:54:22 -06:00
Ben Chatelain
4c8fcce914 🐛 Fix package using /usr/local prefix 2018-10-16 15:54:02 -06:00
Ben Chatelain
1d1b15cb56 🛣️ Revise package paths 2018-10-15 22:27:20 -06:00
Ben Chatelain
f64b071468 📦 Build an installer package 2018-10-15 22:17:07 -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
7b3365860f 🐛 Fix path to mas binary in package script 2018-08-11 16:30:08 -06:00
Ben Chatelain
dfbbeb015c 🏗️ Archive on all builds 2018-08-11 16:29:45 -06:00
Ben Chatelain
b9f1383034 Update path to private headers 2018-08-10 18:44:20 -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
9c933d0b4c Update path in release script 2018-02-16 21:03:57 -07:00
Ben Chatelain
ca4edd4ea9 Invoke xcpretty through bundler 2018-01-26 19:51:01 -07:00
Ben Chatelain
05f4c8141c [package] Ensure xcarchive dir exists 2017-05-26 22:35:03 -06: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
f4a984768d Ensure sed doesn't save backups 2016-09-24 17:07:15 +01:00
Andrew Naylor
80a761b067 Put the dSYM in the correct place 2016-02-21 12:53:18 +00:00
Andrew Naylor
65a299b744 Add a script to update the version number 2016-02-21 12:44:12 +00:00
Andrew Naylor
8adee62920 Ensure the dSYM is uploaded with the release 2016-02-21 12:22:31 +00:00
Andrew Naylor
67d6b80590 Update Headers in the correct directory 2016-02-06 12:00:20 +00:00
Andrew Naylor
112d8567bf Ensure the build directory is also cleaned up 2015-12-31 16:18:43 +00: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
4943fb0598 Use SHA256 instead of SHA1 2015-09-21 01:32:03 +01:00
Andrew Naylor
fe556c9059 Only package up the binary, not the directories 2015-09-21 01:18:54 +01:00
Andrew Naylor
3a06d72a78 Rename the binary to mas 2015-09-21 00:37:30 +01:00
Andrew Naylor
65c626eca7 Fail fast and disable verbosity 2015-09-20 19:07:15 +01:00
Andrew Naylor
cd98e80ffe Print the SHA1 to be used in homebrew tap 2015-09-20 19:07:11 +01:00
Andrew Naylor
cabf18410b Package binaries for release on Travis 2015-09-20 11:23:36 +01:00