Commit graph

155 commits

Author SHA1 Message Date
Ben Chatelain
afca0c6c50 ♻️ Refactor commands to use AppLibrary
Commands install, list, lucky, outdated, uninstall, upgrade
2018-12-28 15:08:31 -07:00
Ben Chatelain
d53c42ae00 🔖 Version 1.5.0 2018-12-27 16:38:10 -07:00
Ben Chatelain
97646f579f ♻️🤡 Move trash method to AppLibrary, mock for tests 2018-12-27 16:07:35 -07:00
Ben Chatelain
5be95132e9 ♻️ Introduce AppLibrary, SoftwareProduct protocols
for easy dependency injection
2018-12-27 15:24:20 -07:00
Ben Chatelain
16734a7f89 🚚 Create commands group in tests 2018-12-27 14:48:24 -07:00
Ben Chatelain
2c2eaa2821 🚚 Move files under MasKit group
🔥 Remove empty mas bridging header
2018-12-27 14:47:11 -07:00
Ben Chatelain
be74199b9f Add uninstall command 2018-12-27 14:01:48 -07:00
Ben Chatelain
69aa9ae85b 🔖 Version 1.4.4 2018-12-19 21:02:00 -07:00
Ben Chatelain
1dc9715a3a 🚨 Change dylib version to minor.patch
Fixes linker warning:
👎 truncating -current_version to fit in 32-bit space used by old mach-o format
2018-11-18 16:41:20 -07:00
Ben Chatelain
8a95fa04b8 🤡 Add tests for search.
Add Result and Commandant in test bundle.
2018-11-17 19:04:27 -07:00
Ben Chatelain
ef3d8819f3 🤡 Add search service response JSON 2018-11-13 20:35:20 -08:00
Ben Chatelain
214dcfa11d 📶 Sort project references 2018-11-12 17:19:10 -08:00
Ben Chatelain
4df530737e Add SearchSpec
- Fixed test project config so that Quick framework can be used in tests
2018-11-12 14:13:34 -07:00
Ben Chatelain
3ac52a15c7 🧹 🛠 Move tests into MasKitTests group, delete unused Info.plist 2018-11-12 13:53:19 -07:00
Ben Chatelain
1a7f6fd655 🧹 🛠 Remove redundant framework references from project 2018-11-12 13:38:09 -07:00
Ben Chatelain
457e2ab5ee 🔗 Update dylib links on install 2018-10-17 17:18:55 -06:00
Ben Chatelain
a9c38fbed1 🗜 Shrink binary by excluding swift static libs
https://medium.com/livefront/how-to-add-a-dynamic-swift-framework-to-a-command-line-tool-bab6426d6c31#fcec
2018-10-16 19:32:06 -06:00
Ben Chatelain
b6569bdd07 🍱 Remove dup MasKit from bin 2018-10-16 17:47:01 -06:00
Ben Chatelain
07435bea8f 📌 Embed Swift dylibs in MasKit 2018-10-16 17:30:12 -06:00
Ben Chatelain
08ba0d42cf 🔖 Version 1.4.3 2018-10-16 16:26:27 -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
ac67fd20f5 📦 Embed 3rd party frameworks in MasKit, set mas @rpath 2018-10-14 16:21:03 -06:00
Unknown
ae92adab99 📶 Sort project 2018-10-14 15:54:41 -06:00
Unknown
a9d7fbcd4c 🔥 Delete mas-tests target 2018-10-14 15:47:55 -06:00
Ben Chatelain
6bc5c753e4 ⬆️👽 Increase macOS deployment target on MasKitTests to 10.11 2018-10-14 14:49:47 -06:00
Unknown
7a62034004 🥢 Fix compile issues 2018-10-14 14:45:21 -06:00
Unknown
eba0a28aac 🚧♻️ Create MasKit targets 2018-10-14 13:41:19 -06:00
Ben Chatelain
3199d80cd3 🤡 Add StoreAccount protocol 2018-10-13 22:22:20 -06:00
Ben Chatelain
e3d167dc10 ⬆️ Swift 4.2, Xcode 10 2018-10-01 20:06:38 -06:00
Ben Chatelain
66f09e9b83 📶 Sort project 2018-10-01 19:53:19 -06:00
Tony Arnold
8113d00fe2
Remove CocoaPods from project 2018-09-05 09:44:50 +10:00
Ben Chatelain
4a75478a6c 🔖 Version 1.4.2 2018-08-11 16:19:01 -06:00
Ben Chatelain
7b2d8c1135 📶 Sort project files 2018-08-10 18:47:52 -06:00
Ben Chatelain
f46b7e145b 📦 Update private headers from 10.13.4
Added nonnull markers
2018-08-10 18:44:21 -06:00
Ben Chatelain
c4d8f8e744 Add ISAuthenticationResponse.h 2018-08-10 18:44:20 -06:00
Ben Chatelain
83f18c45a1 🛠️ Configure Release build to install to ./build 2018-07-04 18:49:03 -06:00
Ben Chatelain
025e38cf83 🔧 Build swift pods statically 2018-07-04 18:25:37 -06:00
Ben Chatelain
2471c888b3 🍫 Integrate CocoaPods 2018-07-04 14:55:44 -06:00
Ben Chatelain
89c9ee68c9 🔥 Deintegrate CocoaSeeds 2018-07-04 14:52:00 -06:00
Ben Chatelain
1ba60aeae8 🙈 Ignore Quick and Nimble dirs 2018-07-04 13:15:51 -06:00
Ben Chatelain
b7338eb3cd ⬇️ Back to Xcode 8.0 format
Since 9.3 requires 10.13.2
2018-07-04 12:48:48 -06:00
Ben Chatelain
138e905cff 🔧 Set swift version at project level 2018-07-04 12:48:48 -06:00
Ben Chatelain
aa5990651f 🛠 Convert project format to 9.3 2018-07-04 12:48:48 -06:00
Ben Chatelain
53e4ea2106 🛠 Apply Xcode 9.3 recommended settings 2018-07-04 12:48:48 -06:00
Ben Chatelain
4be4345bd0 Version 1.4.1 2018-02-18 18:48:09 -07:00
Ben Chatelain
e77067b3f3 🔖 Version 1.4.0 2018-02-16 21:00:07 -07:00
Ben Chatelain
055ed2619e Enable project versioning 2018-02-16 20:56:17 -07:00
Ben Chatelain
491f844377 Remove example tests 2018-02-11 15:41:47 -07:00
Ben Chatelain
7a4d04b7a0 Add MASErrorTestCase 2018-02-11 15:41:21 -07:00
Ben Chatelain
ab01197272 Pull up header/framework paths to project level
Share with tests target
2018-02-11 15:22:54 -07:00
Ben Chatelain
b3e58ab65b Update MASError file to match type name 2018-02-11 15:09:45 -07:00
Ben Chatelain
7a15248a3c Rename group to AppTests
so that it sorts immediately after the App group
2018-02-11 14:50:50 -07:00
Ben Chatelain
9179ae5eae Move new file under /App 2018-02-07 21:16:20 -07:00
Ben Chatelain
38efd3d8d6 Merge branch 'master' into test-target 2018-02-07 21:08:00 -07:00
Andrew Griffiths
c001021f3a support app name(s) for upgrade command.
This commit adds a step to the upgrade command which checks each
input token against the list of installed apps and converts any
matched productName to a productId.
2018-02-07 19:30:40 -07:00
Ben Chatelain
fc8222a6a4 Add test target 2018-01-28 19:35:27 -07:00
Ben Chatelain
35fb638b5b Rename project group to App/ 2018-01-28 19:24:27 -07:00
Ben Chatelain
a74d43dcb9
Merge branch 'master' into lucky-command 2018-01-27 12:27:31 -07:00
Ben Chatelain
011119812c
Merge branch 'master' into info-command 2018-01-27 10:11:42 -07:00
Ben Chatelain
f8db7e5572 Update Commandant files in project 2018-01-27 09:57:36 -07:00
Ben Chatelain
f4c34f77b5 🌱 Update seeds
- Commandant 0.12.0+ (Swift 4 fixes in master)
- Result 3.2.4
2018-01-27 08:31:18 -07:00
Ben Chatelain
225a1fb523 🔨 Use Xcode 8.0 compatible project format 2018-01-27 08:31:10 -07:00
Ben Chatelain
e0239860f4 🔨 Disable Swift 3 objc inference 2018-01-27 08:30:43 -07:00
Jake Spann
72a6d40df4 Updates
* Updated to Swift 4
* Turn on Whole Module Optimization
* Enable Additional Compiler Warnings
* A few fixes for Swift 4
2017-12-28 09:45:08 -06:00
Pablo Varela
705e7b1f65 Add command "lucky" 2017-05-11 16:29:18 -04:00
Dmitry Rodionov
281dcf084c Revert "Enable Whole Module Optimization"
This reverts commit 4fc61f92b1.
2017-01-15 21:49:45 +07:00
Dmitry Rodionov
4fc61f92b1 Enable Whole Module Optimization
As suggested by Xcode 8.2.1
2017-01-15 21:44:12 +07:00
Denis Lebedev
aefaeb5e05 Implements #26: Add info command 2016-10-22 00:04:19 +01:00
Andrew Naylor
97f582f98b Disable Whole module optimization to fix build error 2016-09-25 22:57:21 +01:00
Andrew Naylor
be28fb5cbd Update to Commandant 0.11.1 2016-09-24 15:53:50 +01:00
Andrew Naylor
634dbd87dd Initial port to Swift 3 2016-09-17 13:58:38 +01:00
Andrew Naylor
446762e31e Switch to Xcode 8.0 / Swift 2.3 2016-09-17 11:26:43 +01:00
Andrew Naylor
1dd85d3e54 Only install apps which are not yet installed 2016-09-14 22:28:18 +01:00
Andrew Naylor
9c6ae2f311 Implement mas reset
Replicates the `Reset Application` functionality of the Mac App Store
Debug menu
2016-09-14 19:17:27 +01:00
Roman Zhikharevich
a0d98a415a Xcode 8 compatibility 2016-06-16 15:37:41 +03:00
Andrew Naylor
087d95a365 Update to Swift 2.2 2016-04-16 12:06:52 +01:00
Michael Schneider
587d84a671 Address comments
- Url encode appName
- Add attribution for synchronous NSURLSession code
- Run script/sort
- Add ResultKeys struct for json keys
2016-04-15 06:53:58 -07:00
Michael Schneider
e27b963d22 Add ability to search apps from the MAS via name 2016-04-14 09:21:25 -07:00
Andrew Naylor
e212c44384 Upgrade Commandant to fix #10
Resolved by: https://github.com/Carthage/Commandant/pull/47
2016-02-21 20:38:51 +00:00
Andrew Naylor
0dac33510c Add a command to sign out of MAS 2016-02-14 01:34:49 +00:00
Andrew Naylor
d80ad6e866 Add sign in functionality 2016-02-14 01:34:27 +00:00
Andrew Naylor
8c0f3e0386 Upgrade to latest Commandant 2015-12-30 22:00:32 +00:00
Andrew Naylor
c72fb162c7 Improve the README 2015-12-30 22:00:32 +00:00
Andrew Naylor
c3519ddd69 Add upgrade command to install pending updates 2015-12-30 22:00:32 +00:00
Andrew Naylor
3a06d72a78 Rename the binary to mas 2015-09-21 00:37:30 +01:00
Andrew Naylor
dfb3c58283 Sort the Xcodeproj 2015-09-20 23:48:21 +01:00
Andrew Naylor
6042bccbe6 Use the built-in method for including Info.plist 2015-09-20 23:23:47 +01:00
Andrew Naylor
7828137a14 Add a Version command to the utility 2015-09-20 11:40:55 +01:00
Andrew Naylor
4e156e07f8 Enable Whole Module Optimization 2015-09-20 11:14:19 +01:00
Andrew Naylor
b019521b11 Embed an Info.plist file into the binary 2015-09-20 11:14:06 +01:00
Andrew Naylor
4bbd964c2e Update to Swift 2 2015-09-14 09:51:09 +01:00
Andrew Naylor
b1ad9af105 Move Headers to "PrivateHeaders" 2015-09-14 09:28:41 +01:00
Andrew Naylor
6ef4d842ed Remove unnecessary headers 2015-09-14 09:26:03 +01:00
Andrew Naylor
bc15c02395 Put headers in the HEADER_SEARCH_PATHS 2015-09-14 09:10:24 +01:00
Andrew Naylor
a0bf8529fb Rename the commands to be more like homebrew 2015-09-13 23:14:56 +01:00
Andrew Naylor
41ceab2c3a Begin to refactor the download process 2015-08-25 02:45:54 +08:00
Andrew Naylor
83291f2fc6 Guard against not being signed in with an error 2015-08-25 02:45:27 +08:00
Andrew Naylor
4ebd0ebb17 Collect together the AppStore interfaces 2015-08-22 02:48:00 +08:00
Andrew Naylor
d9a5baa7e6 Switch to using CocoaSeeds for imports 2015-08-21 22:24:03 +08:00