Add buildEvergreen script.

This commit is contained in:
Brent Simmons 2017-05-29 16:26:03 -07:00
parent 5c4d51dcd6
commit f27f410a0d
4 changed files with 51 additions and 6 deletions

20
Appcasts/evergreen-beta.xml Executable file
View File

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:sparkle="http://www.andymatuschak.org/xml-namespaces/sparkle" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Evergreen Betas</title>
<link>https://ranchero.com/downloads/evergreen-beta.xml</link>
<description>Most recent Evergreen changes with links to updates.</description>
<language>en</language>
<item>
<title>Version 1.011</title>
<description><![CDATA[
<p>First Evergreen release.</p>
]]></description>
<pubDate>Mon, 29 May 2017 15:10:00 -0700</pubDate>
<enclosure url="https://ranchero.com/downloads/Evergreen1.0d11.zip" sparkle:version="500" sparkle:shortVersionString="1.0d11" length="4659981" type="application/zip" />
<sparkle:minimumSystemVersion>10.12</sparkle:minimumSystemVersion>
</item>
</channel>
</rss>

View File

@ -825,7 +825,7 @@
TargetAttributes = {
849C645F1ED37A5D003D8FC0 = {
CreatedOnToolsVersion = 8.2.1;
DevelopmentTeam = 9C84TZ7Q6Z;
DevelopmentTeam = M8L2WTLA8W;
ProvisioningStyle = Automatic;
};
849C64701ED37A5D003D8FC0 = {
@ -1286,9 +1286,10 @@
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "-";
CODE_SIGN_IDENTITY = "Developer ID Application";
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = dwarf;
DEVELOPMENT_TEAM = M8L2WTLA8W;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
@ -1335,9 +1336,10 @@
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "-";
CODE_SIGN_IDENTITY = "Developer ID Application";
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEVELOPMENT_TEAM = M8L2WTLA8W;
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
@ -1360,8 +1362,9 @@
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_IDENTITY = "Mac Developer";
COMBINE_HIDPI_IMAGES = YES;
DEVELOPMENT_TEAM = 9C84TZ7Q6Z;
DEVELOPMENT_TEAM = M8L2WTLA8W;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/Frameworks/Vendor",
@ -1370,6 +1373,7 @@
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.ranchero.Evergreen;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
SWIFT_VERSION = 3.0;
};
name = Debug;
@ -1379,8 +1383,9 @@
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_IDENTITY = "Mac Developer";
COMBINE_HIDPI_IMAGES = YES;
DEVELOPMENT_TEAM = 9C84TZ7Q6Z;
DEVELOPMENT_TEAM = M8L2WTLA8W;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)/Frameworks/Vendor",
@ -1389,6 +1394,7 @@
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.ranchero.Evergreen;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
SWIFT_VERSION = 3.0;
};
name = Release;

View File

@ -19,7 +19,7 @@
<key>CFBundleShortVersionString</key>
<string>1.0d11</string>
<key>CFBundleVersion</key>
<string>429</string>
<string>500</string>
<key>LSMinimumSystemVersion</key>
<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
<key>NSAppTransportSecurity</key>

19
buildEvergreen Executable file
View File

@ -0,0 +1,19 @@
#!/bin/sh
rm -rf ~/.build
mkdir ~/.build
rm ~/Desktop/Evergreen$1.zip
rm -rf ~/Desktop/Evergreen.app
xcodebuild -workspace Evergreen.xcworkspace -scheme "Evergreen" -derivedDataPath ~/.build -configuration Release
ditto /Users/brent/.build/Build/Products/Release/Evergreen.app ~/Desktop/Evergreen.app
open ~/Desktop
pushd ~/Desktop
zip --symlinks -r "Evergreen$1.zip" "Evergreen.app/"
ditto Evergreen$1.zip ~/Archive/Releases/
popd