🔥 Remove Result imports and project references

This commit is contained in:
Ben Chatelain 2019-12-13 17:56:00 -07:00
parent 37d18877ee
commit 40b73b051b
37 changed files with 0 additions and 44 deletions

View file

@ -7,7 +7,6 @@
//
import Commandant
import Result
import StoreFoundation
public struct AccountCommand: CommandProtocol {

View file

@ -7,7 +7,6 @@
//
import Commandant
import Result
/// Opens app page on MAS Preview. Uses the iTunes Lookup API:
/// https://affiliate.itunes.apple.com/resources/documentation/itunes-store-web-service-search-api/#lookup

View file

@ -8,7 +8,6 @@
import Commandant
import Foundation
import Result
/// Displays app details. Uses the iTunes Lookup API:
/// https://affiliate.itunes.apple.com/resources/documentation/itunes-store-web-service-search-api/#lookup

View file

@ -8,7 +8,6 @@
import Commandant
import CommerceKit
import Result
/// Installs previously purchased apps from the Mac App Store.
public struct InstallCommand: CommandProtocol {

View file

@ -7,7 +7,6 @@
//
import Commandant
import Result
/// Command which lists all installed apps.
public struct ListCommand: CommandProtocol {

View file

@ -8,7 +8,6 @@
import Commandant
import CommerceKit
import Result
/// Command which installs the first search result. This is handy as many MAS titles
/// can be long with embedded keywords.

View file

@ -7,7 +7,6 @@
//
import Commandant
import Result
private let markerValue = "appstore"
private let masScheme = "macappstore"

View file

@ -8,7 +8,6 @@
import Commandant
import CommerceKit
import Result
/// Command which displays a list of installed apps which have available updates
/// ready to be installed from the Mac App Store.

View file

@ -8,7 +8,6 @@
import Commandant
import CommerceKit
import Result
/// Kills several macOS processes as a means to reset the app store.
public struct ResetCommand: CommandProtocol {

View file

@ -7,7 +7,6 @@
//
import Commandant
import Result
/// Search the Mac App Store using the iTunes Search API:
/// https://affiliate.itunes.apple.com/resources/documentation/itunes-store-web-service-search-api/

View file

@ -7,7 +7,6 @@
//
import Commandant
import Result
import StoreFoundation
public struct SignInCommand: CommandProtocol {

View file

@ -8,7 +8,6 @@
import Commandant
import CommerceKit
import Result
public struct SignOutCommand: CommandProtocol {
public typealias Options = NoOptions<MASError>

View file

@ -8,7 +8,6 @@
import Commandant
import CommerceKit
import Result
import StoreFoundation
/// Command which uninstalls apps managed by the Mac App Store.

View file

@ -8,7 +8,6 @@
import Commandant
import CommerceKit
import Result
/// Command which upgrades apps with new versions available in the Mac App Store.
public struct UpgradeCommand: CommandProtocol {

View file

@ -7,7 +7,6 @@
//
import Commandant
import Result
/// Opens vendor's app page in a browser. Uses the iTunes Lookup API:
/// https://affiliate.itunes.apple.com/resources/documentation/itunes-store-web-service-search-api/#lookup

View file

@ -7,7 +7,6 @@
//
import Commandant
import Result
/// Command which displays the version of the mas tool.
public struct VersionCommand: CommandProtocol {

View file

@ -9,7 +9,6 @@
@testable import MasKit
import Nimble
import Quick
import Result
class AccountCommandSpec: QuickSpec {
override func spec() {

View file

@ -9,7 +9,6 @@
@testable import MasKit
import Nimble
import Quick
import Result
class HomeCommandSpec: QuickSpec {
override func spec() {

View file

@ -9,7 +9,6 @@
@testable import MasKit
import Nimble
import Quick
import Result
class InfoCommandSpec: QuickSpec {
override func spec() {

View file

@ -9,7 +9,6 @@
@testable import MasKit
import Nimble
import Quick
import Result
class InstallCommandSpec: QuickSpec {
override func spec() {

View file

@ -9,7 +9,6 @@
@testable import MasKit
import Nimble
import Quick
import Result
class ListCommandSpec: QuickSpec {
override func spec() {

View file

@ -9,7 +9,6 @@
@testable import MasKit
import Nimble
import Quick
import Result
class LuckyCommandSpec: QuickSpec {
override func spec() {

View file

@ -9,7 +9,6 @@
@testable import MasKit
import Nimble
import Quick
import Result
class OpenCommandSpec: QuickSpec {
override func spec() {

View file

@ -9,7 +9,6 @@
@testable import MasKit
import Nimble
import Quick
import Result
class OutdatedCommandSpec: QuickSpec {
override func spec() {

View file

@ -9,7 +9,6 @@
@testable import MasKit
import Nimble
import Quick
import Result
class ResetCommandSpec: QuickSpec {
override func spec() {

View file

@ -9,7 +9,6 @@
@testable import MasKit
import Nimble
import Quick
import Result
class SearchCommandSpec: QuickSpec {
override func spec() {

View file

@ -9,7 +9,6 @@
@testable import MasKit
import Nimble
import Quick
import Result
class SignInCommandSpec: QuickSpec {
override func spec() {

View file

@ -9,7 +9,6 @@
@testable import MasKit
import Nimble
import Quick
import Result
class SignOutCommandSpec: QuickSpec {
override func spec() {

View file

@ -9,7 +9,6 @@
@testable import MasKit
import Nimble
import Quick
import Result
class UninstallCommandSpec: QuickSpec {
override func spec() {

View file

@ -9,7 +9,6 @@
@testable import MasKit
import Nimble
import Quick
import Result
class UpgradeCommandSpec: QuickSpec {
override func spec() {

View file

@ -9,7 +9,6 @@
@testable import MasKit
import Nimble
import Quick
import Result
class VendorCommandSpec: QuickSpec {
override func spec() {

View file

@ -9,7 +9,6 @@
@testable import MasKit
import Nimble
import Quick
import Result
class VersionCommandSpec: QuickSpec {
override func spec() {

View file

@ -9,7 +9,6 @@
@testable import MasKit
import Nimble
import Quick
import Result
class MasStoreSearchSpec: QuickSpec {
override func spec() {

View file

@ -8,7 +8,6 @@
@testable import MasKit
import Nimble
import Quick
import Result
/// Protocol minimal implementation
struct StoreSearchForTesting: StoreSearch {

View file

@ -9,7 +9,6 @@
@testable import MasKit
import Nimble
import Quick
import Result
class SearchResultsFormatterSpec: QuickSpec {
override func spec() {

View file

@ -8,7 +8,6 @@
@testable import MasKit
import Nimble
import Result
/// Nimble predicate for result enum success case, no associated value
func beSuccess() -> Predicate<Result<(), MASError>> {

View file

@ -7,9 +7,7 @@
objects = {
/* Begin PBXBuildFile section */
B537017321A0F85700538F78 /* Result.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 90CB4069213F4DDD0044E445 /* Result.framework */; };
B537017421A0F85B00538F78 /* Commandant.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 90CB406B213F4DDD0044E445 /* Commandant.framework */; };
B537017521A0F94000538F78 /* Result.framework in Copy Carthage Frameworks */ = {isa = PBXBuildFile; fileRef = 90CB4069213F4DDD0044E445 /* Result.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
B537017621A0F94200538F78 /* Commandant.framework in Copy Carthage Frameworks */ = {isa = PBXBuildFile; fileRef = 90CB406B213F4DDD0044E445 /* Commandant.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
B5552928219A1BB900ACB4CA /* CommerceKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F83213A62173EF75008BA8A0 /* CommerceKit.framework */; };
B5552929219A1BC700ACB4CA /* StoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F83213A52173EF75008BA8A0 /* StoreFoundation.framework */; };
@ -104,10 +102,8 @@
F83213A02173D5B2008BA8A0 /* SSPurchase.h in Headers */ = {isa = PBXBuildFile; fileRef = F8FB71B120F2EC4500F56FDC /* SSPurchase.h */; };
F83213A12173D5B2008BA8A0 /* SSPurchaseResponse.h in Headers */ = {isa = PBXBuildFile; fileRef = F8FB71B220F2EC4500F56FDC /* SSPurchaseResponse.h */; };
F83213A22173DC13008BA8A0 /* Commandant.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 90CB406B213F4DDD0044E445 /* Commandant.framework */; };
F83213A32173DC18008BA8A0 /* Result.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 90CB4069213F4DDD0044E445 /* Result.framework */; };
F83213A82173F5A7008BA8A0 /* MasKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F8FB715220F2B41400F56FDC /* MasKit.framework */; };
F83213A92173F5D0008BA8A0 /* Commandant.framework in Copy Frameworks */ = {isa = PBXBuildFile; fileRef = 90CB406B213F4DDD0044E445 /* Commandant.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
F83213AA2173F5D0008BA8A0 /* Result.framework in Copy Frameworks */ = {isa = PBXBuildFile; fileRef = 90CB4069213F4DDD0044E445 /* Result.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
F8FB715B20F2B41400F56FDC /* MasKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F8FB715220F2B41400F56FDC /* MasKit.framework */; };
F8FB716220F2B41400F56FDC /* MasKit.h in Headers */ = {isa = PBXBuildFile; fileRef = F8FB715420F2B41400F56FDC /* MasKit.h */; settings = {ATTRIBUTES = (Public, ); }; };
F8FB716A20F2B4DD00F56FDC /* Downloader.swift in Sources */ = {isa = PBXBuildFile; fileRef = ED0F238A1B87569C00AE40CD /* Downloader.swift */; };
@ -168,7 +164,6 @@
B537017621A0F94200538F78 /* Commandant.framework in Copy Carthage Frameworks */,
B5552936219A23FF00ACB4CA /* Nimble.framework in Copy Carthage Frameworks */,
B5552937219A23FF00ACB4CA /* Quick.framework in Copy Carthage Frameworks */,
B537017521A0F94000538F78 /* Result.framework in Copy Carthage Frameworks */,
);
name = "Copy Carthage Frameworks";
runOnlyForDeploymentPostprocessing = 0;
@ -189,7 +184,6 @@
dstSubfolderSpec = 10;
files = (
F83213A92173F5D0008BA8A0 /* Commandant.framework in Copy Frameworks */,
F83213AA2173F5D0008BA8A0 /* Result.framework in Copy Frameworks */,
);
name = "Copy Frameworks";
runOnlyForDeploymentPostprocessing = 0;
@ -369,7 +363,6 @@
files = (
F83213A22173DC13008BA8A0 /* Commandant.framework in Frameworks */,
B5552928219A1BB900ACB4CA /* CommerceKit.framework in Frameworks */,
F83213A32173DC18008BA8A0 /* Result.framework in Frameworks */,
B5552929219A1BC700ACB4CA /* StoreFoundation.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
@ -382,7 +375,6 @@
F8FB715B20F2B41400F56FDC /* MasKit.framework in Frameworks */,
B555292F219A219100ACB4CA /* Nimble.framework in Frameworks */,
B555292E219A218E00ACB4CA /* Quick.framework in Frameworks */,
B537017321A0F85700538F78 /* Result.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};