Skip to content

Commit 2f07531

Browse files
Add 'Why' callout.
1 parent 27d5a7f commit 2f07531

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

Source/Models/MarkdownCallout.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ enum MarkdownCallout: String, CaseIterable {
1616
case important
1717
case fire
1818
case bug
19+
case why
1920

2021
//swiftlint:disable:next force_try
2122
static let regex: Regex = try! Regex(pattern: "^( *)< *(\\w+) *> *",
@@ -49,6 +50,8 @@ enum MarkdownCallout: String, CaseIterable {
4950
return "🔥"
5051
case .bug:
5152
return "🐞"
53+
case .why:
54+
return "🤔"
5255
}
5356
}
5457

Thesi.xcodeproj/project.pbxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,6 @@
311311
runOnlyForDeploymentPostprocessing = 0;
312312
shellPath = /bin/sh;
313313
shellScript = "if which swiftlint >/dev/null; then\n swiftlint\nelse\n echo \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi\n";
314-
showEnvVarsInLog = 0;
315314
};
316315
/* End PBXShellScriptBuildPhase section */
317316

@@ -397,6 +396,7 @@
397396
};
398397
1482F88521A5D36800CF0C6C /* Debug */ = {
399398
isa = XCBuildConfiguration;
399+
baseConfigurationReference = 1480FB0E21AD1E4E006ABE10 /* travis.xcconfig */;
400400
buildSettings = {
401401
ALWAYS_SEARCH_USER_PATHS = NO;
402402
CLANG_ANALYZER_NONNULL = YES;

Thesi.xcodeproj/xcshareddata/xcschemes/Thesi.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
ActionType = "Xcode.IDEStandardExecutionActionsCore.ExecutionActionType.ShellScriptAction">
1111
<ActionContent
1212
title = "Run Script"
13-
scriptText = "INSTALL_DIR=~/Library/Application\ Support/MacDown/PlugIns&#10;&#10;mkdir -p &quot;$INSTALL_DIR&quot;&#10;cp -rf &quot;$BUILT_PRODUCTS_DIR/$FULL_PRODUCT_NAME&quot; &quot;$INSTALL_DIR&quot;&#10;">
13+
scriptText = "exec &gt; /tmp/xcode_build.log 2&gt;&amp;1&#10;&#10;INSTALL_DIR=&quot;$USER_LIBRARY_DIR/Application Support/MacDown/PlugIns&quot;&#10;&#10;cd &quot;$SRCROOT&quot;&#10;&#10;echo &quot;$INSTALL_DIR&quot;&#10;echo &quot;$BUILT_PRODUCTS_DIR/$FULL_PRODUCT_NAME&quot;&#10;echo &quot;$BUILT_PRODUCTS_DIR&quot;&#10;echo &quot;$SYMROOT&quot;&#10;echo &quot;$SRCROOT&quot;&#10;pwd&#10;&#10;mkdir -p &quot;$INSTALL_DIR&quot;&#10;cp -rf &quot;$BUILT_PRODUCTS_DIR/$FULL_PRODUCT_NAME&quot; &quot;$INSTALL_DIR&quot;&#10;">
1414
<EnvironmentBuildable>
1515
<BuildableReference
1616
BuildableIdentifier = "primary"

0 commit comments

Comments
 (0)