Skip to content

Commit

Permalink
added command to package
Browse files Browse the repository at this point in the history
  • Loading branch information
leogdion committed Oct 9, 2020
1 parent b67a0e2 commit f8e4b40
Show file tree
Hide file tree
Showing 7 changed files with 378 additions and 15 deletions.
187 changes: 179 additions & 8 deletions Speculid.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@
B3E1707C24C1DBF700784D20 /* LabeledOption.swift in Sources */ = {isa = PBXBuildFile; fileRef = B3E1707B24C1DBF700784D20 /* LabeledOption.swift */; };
B3E1707E24C1DC1100784D20 /* ResizeOption.swift in Sources */ = {isa = PBXBuildFile; fileRef = B3E1707D24C1DC1100784D20 /* ResizeOption.swift */; };
B3E1708024C1DC6C00784D20 /* ClassicObject.swift in Sources */ = {isa = PBXBuildFile; fileRef = B3E1707F24C1DC6C00784D20 /* ClassicObject.swift */; };
B3E741E82530AF2500002110 /* main.swift in Sources */ = {isa = PBXBuildFile; fileRef = B3E741E72530AF2500002110 /* main.swift */; };
B3E741EE2530AF5A00002110 /* SpeculidKit in Frameworks */ = {isa = PBXBuildFile; productRef = B3E741ED2530AF5A00002110 /* SpeculidKit */; };
B3E741F22530AFD500002110 /* ArgumentParser in Frameworks */ = {isa = PBXBuildFile; productRef = B3E741F12530AFD500002110 /* ArgumentParser */; };
B3E7420F2530B78F00002110 /* speculid in CopyFiles */ = {isa = PBXBuildFile; fileRef = B3E741E52530AF2500002110 /* speculid */; settings = {ATTRIBUTES = (CodeSignOnCopy, ); }; };
/* End PBXBuildFile section */

/* Begin PBXCopyFilesBuildPhase section */
Expand All @@ -37,12 +41,13 @@
};
B3796B7A2432C33600E5F5F9 /* CopyFiles */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 8;
dstPath = Contents/Helpers;
dstSubfolderSpec = 1;
buildActionMask = 12;
dstPath = "";
dstSubfolderSpec = 12;
files = (
B3E7420F2530B78F00002110 /* speculid in CopyFiles */,
);
runOnlyForDeploymentPostprocessing = 1;
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXCopyFilesBuildPhase section */

Expand All @@ -68,6 +73,8 @@
B3E1707B24C1DBF700784D20 /* LabeledOption.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LabeledOption.swift; sourceTree = "<group>"; };
B3E1707D24C1DC1100784D20 /* ResizeOption.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ResizeOption.swift; sourceTree = "<group>"; };
B3E1707F24C1DC6C00784D20 /* ClassicObject.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ClassicObject.swift; sourceTree = "<group>"; };
B3E741E52530AF2500002110 /* speculid */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = speculid; sourceTree = BUILT_PRODUCTS_DIR; };
B3E741E72530AF2500002110 /* main.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = main.swift; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand All @@ -80,6 +87,15 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
B3E741E22530AF2500002110 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
B3E741F22530AFD500002110 /* ArgumentParser in Frameworks */,
B3E741EE2530AF5A00002110 /* SpeculidKit in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
Expand Down Expand Up @@ -116,6 +132,7 @@
B39F13FE243817AB00A69B85 /* packages */,
B37A5236243500C900FEA6E9 /* command */,
B3DB48092431642100B1DA4F /* Speculid */,
B3E741E62530AF2500002110 /* speculid */,
B3DB48082431642100B1DA4F /* Products */,
B303554824381F1200A8EAB9 /* Frameworks */,
);
Expand All @@ -125,6 +142,7 @@
isa = PBXGroup;
children = (
B3DB48072431642100B1DA4F /* Speculid.app */,
B3E741E52530AF2500002110 /* speculid */,
);
name = Products;
sourceTree = "<group>";
Expand Down Expand Up @@ -158,6 +176,14 @@
path = "Preview Content";
sourceTree = "<group>";
};
B3E741E62530AF2500002110 /* speculid */ = {
isa = PBXGroup;
children = (
B3E741E72530AF2500002110 /* main.swift */,
);
path = speculid;
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
Expand All @@ -184,18 +210,41 @@
productReference = B3DB48072431642100B1DA4F /* Speculid.app */;
productType = "com.apple.product-type.application";
};
B3E741E42530AF2500002110 /* speculid */ = {
isa = PBXNativeTarget;
buildConfigurationList = B3E741E92530AF2500002110 /* Build configuration list for PBXNativeTarget "speculid" */;
buildPhases = (
B3E741E12530AF2500002110 /* Sources */,
B3E741E22530AF2500002110 /* Frameworks */,
);
buildRules = (
);
dependencies = (
);
name = speculid;
packageProductDependencies = (
B3E741ED2530AF5A00002110 /* SpeculidKit */,
B3E741F12530AFD500002110 /* ArgumentParser */,
);
productName = speculid;
productReference = B3E741E52530AF2500002110 /* speculid */;
productType = "com.apple.product-type.tool";
};
/* End PBXNativeTarget section */

/* Begin PBXProject section */
B3DB47FD243162DA00B1DA4F /* Project object */ = {
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 1200;
LastSwiftUpdateCheck = 1220;
LastUpgradeCheck = 1200;
TargetAttributes = {
B3DB48062431642100B1DA4F = {
CreatedOnToolsVersion = 11.4;
};
B3E741E42530AF2500002110 = {
CreatedOnToolsVersion = 12.2;
};
};
};
buildConfigurationList = B3DB4800243162DA00B1DA4F /* Build configuration list for PBXProject "Speculid" */;
Expand All @@ -207,11 +256,15 @@
Base,
);
mainGroup = B3DB47FC243162DA00B1DA4F;
packageReferences = (
B3E741F02530AFD500002110 /* XCRemoteSwiftPackageReference "swift-argument-parser" */,
);
productRefGroup = B3DB48082431642100B1DA4F /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
B3DB48062431642100B1DA4F /* Speculid */,
B3E741E42530AF2500002110 /* speculid */,
);
};
/* End PBXProject section */
Expand Down Expand Up @@ -245,7 +298,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "swiftformat --lint . && swiftlint\n";
shellScript = "# swiftformat --lint . && swiftlint\n";
};
/* End PBXShellScriptBuildPhase section */

Expand All @@ -265,6 +318,14 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
B3E741E12530AF2500002110 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
B3E741E82530AF2500002110 /* main.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */

/* Begin PBXVariantGroup section */
Expand Down Expand Up @@ -385,7 +446,7 @@
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 13;
CURRENT_PROJECT_VERSION = 15;
DEBUG_INFORMATION_FORMAT = dwarf;
DEVELOPMENT_ASSET_PATHS = "\"Speculid/Preview Content\"";
DEVELOPMENT_TEAM = MLT7M394S7;
Expand Down Expand Up @@ -485,7 +546,7 @@
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 13;
CURRENT_PROJECT_VERSION = 15;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEVELOPMENT_ASSET_PATHS = "\"Speculid/Preview Content\"";
DEVELOPMENT_TEAM = MLT7M394S7;
Expand Down Expand Up @@ -540,6 +601,87 @@
};
name = Release;
};
B3E741EA2530AF2500002110 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_ENABLE_OBJC_WEAK = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CODE_SIGN_ENTITLEMENTS = speculid/speculid.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = dwarf;
DEVELOPMENT_TEAM = MLT7M394S7;
ENABLE_HARDENED_RUNTIME = YES;
GCC_C_LANGUAGE_STANDARD = gnu11;
GCC_DYNAMIC_NO_PIC = NO;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
);
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
LD_RUNPATH_SEARCH_PATHS = .;
MACOSX_DEPLOYMENT_TARGET = 10.15;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = macosx;
SKIP_INSTALL = YES;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 5.0;
};
name = Debug;
};
B3E741EB2530AF2500002110 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_ENABLE_OBJC_WEAK = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CODE_SIGN_ENTITLEMENTS = speculid/speculid.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEVELOPMENT_TEAM = MLT7M394S7;
ENABLE_HARDENED_RUNTIME = YES;
ENABLE_NS_ASSERTIONS = NO;
GCC_C_LANGUAGE_STANDARD = gnu11;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
LD_RUNPATH_SEARCH_PATHS = .;
MACOSX_DEPLOYMENT_TARGET = 10.15;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = macosx;
SKIP_INSTALL = YES;
SWIFT_COMPILATION_MODE = wholemodule;
SWIFT_OPTIMIZATION_LEVEL = "-O";
SWIFT_VERSION = 5.0;
};
name = Release;
};
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
Expand All @@ -561,13 +703,42 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
B3E741E92530AF2500002110 /* Build configuration list for PBXNativeTarget "speculid" */ = {
isa = XCConfigurationList;
buildConfigurations = (
B3E741EA2530AF2500002110 /* Debug */,
B3E741EB2530AF2500002110 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */

/* Begin XCRemoteSwiftPackageReference section */
B3E741F02530AFD500002110 /* XCRemoteSwiftPackageReference "swift-argument-parser" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/apple/swift-argument-parser";
requirement = {
kind = upToNextMajorVersion;
minimumVersion = 0.3.1;
};
};
/* End XCRemoteSwiftPackageReference section */

/* Begin XCSwiftPackageProductDependency section */
B303554924381F1200A8EAB9 /* SpeculidKit */ = {
isa = XCSwiftPackageProductDependency;
productName = SpeculidKit;
};
B3E741ED2530AF5A00002110 /* SpeculidKit */ = {
isa = XCSwiftPackageProductDependency;
productName = SpeculidKit;
};
B3E741F12530AFD500002110 /* ArgumentParser */ = {
isa = XCSwiftPackageProductDependency;
package = B3E741F02530AFD500002110 /* XCRemoteSwiftPackageReference "swift-argument-parser" */;
productName = ArgumentParser;
};
/* End XCSwiftPackageProductDependency section */
};
rootObject = B3DB47FD243162DA00B1DA4F /* Project object */;
Expand Down
78 changes: 78 additions & 0 deletions Speculid.xcodeproj/xcshareddata/xcschemes/speculid.xcscheme
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1220"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "B3E741E42530AF2500002110"
BuildableName = "speculid"
BlueprintName = "speculid"
ReferencedContainer = "container:Speculid.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "B3E741E42530AF2500002110"
BuildableName = "speculid"
BlueprintName = "speculid"
ReferencedContainer = "container:Speculid.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "B3E741E42530AF2500002110"
BuildableName = "speculid"
BlueprintName = "speculid"
ReferencedContainer = "container:Speculid.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
Loading

0 comments on commit f8e4b40

Please sign in to comment.