Permalink
Browse files

Objective-Clean adjustements

- Adjusted Objective-Clean StyleSettings file, because I'm sick of braces on new lines
- Adjusted Objective-Clean run script so it ignores HTTP and WSS directory
  • Loading branch information...
BlackWolf committed Feb 12, 2015
1 parent 1065493 commit f8c170edd0415fe3cb62bad1466fc45d33e231ca
Showing with 79 additions and 78 deletions.
  1. +1 −1 Connichiwa.xcodeproj/project.pbxproj
  2. +78 −77 StyleSettings.plist
@@ -700,7 +700,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "if [[ -z ${SKIP_OBJCLEAN} || ${SKIP_OBJCLEAN} != 1 ]]; then\nif [[ -d \"${LOCAL_APPS_DIR}/Objective-Clean.app\" ]]; then\n\"${LOCAL_APPS_DIR}\"/Objective-Clean.app/Contents/Resources/ObjClean.app/Contents/MacOS/ObjClean \"${SRCROOT}\"?!Nodelike\nelse\necho \"warning: You have to install and set up Objective-Clean to use its features!\"\nfi\nfi";
shellScript = "if [[ -z ${SKIP_OBJCLEAN} || ${SKIP_OBJCLEAN} != 1 ]]; then\nif [[ -d \"${LOCAL_APPS_DIR}/Objective-Clean.app\" ]]; then\n\"${LOCAL_APPS_DIR}\"/Objective-Clean.app/Contents/Resources/ObjClean.app/Contents/MacOS/ObjClean \"${SRCROOT}\"?!Connichiwa/BLWebSocketsServer,!Connichiwa/GCDWebServer\nelse\necho \"warning: You have to install and set up Objective-Clean to use its features!\"\nfi\nfi";
};
33294104193F958000337D00 /* Create AppleDoc Script */ = {
isa = PBXShellScriptBuildPhase;
@@ -2,81 +2,82 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>kRequireSpaceAfterColon</key>
<false/>
<key>kRequireOpenBraceOnMethodSignatureLine</key>
<false/>
<key>kRequireOpenBraceOnConditionalStatementLine</key>
<false/>
<key>kRequireNoEmptyLineAsFirstLineInMethod</key>
<false/>
<key>kRequireSpaceBeforeOpeningBrace</key>
<true/>
<key>KNumberOfEmptyLinesBetweenMethods</key>
<integer>2</integer>
<key>kNumberOfEmptyLinesBeforeImplementation</key>
<integer>3</integer>
<key>kNumberOfEmptyLinesAfterImplementation</key>
<integer>2</integer>
<key>kMethodParameterPrefix</key>
<string></string>
<key>kElseFormatRule</key>
<integer>2</integer>
<key>kEqualSpacingRule</key>
<integer>1</integer>
<key>kRequireSpaceAfterConditionalStatement</key>
<true/>
<key>kElseIfFormatRule</key>
<integer>2</integer>
<key>kRequireSpaceAboveBreak</key>
<false/>
<key>kInterfaceColonSpacingRule</key>
<integer>1</integer>
<key>kRequireSpaceAfterCommas</key>
<true/>
<key>kRequireSpaceBeforeCaseColons</key>
<false/>
<key>kSignatureAsteriskSpacingRule</key>
<integer>2</integer>
<key>kNumberOfEmptyLinesAboveClassExtension</key>
<integer>3</integer>
<key>kNumberOfEmptyLinesAboveInterface</key>
<integer>3</integer>
<key>kViolationsShouldBeErrors</key>
<false/>
<key>kRequireSpaceAfterParameterType</key>
<false/>
<key>kStaticVariableAsteriskSpacingRule</key>
<integer>2</integer>
<key>kNumberOfEmptyLinesBeforePragma</key>
<integer>2</integer>
<key>kNumberOfEmptyLinesAfterPragma</key>
<integer>2</integer>
<key>kNumberOfEmptyLinesAboveEnd</key>
<integer>1</integer>
<key>kComparisonSpacingRule</key>
<integer>1</integer>
<key>kNumberOfEmptyLinesAboveCategory</key>
<integer>3</integer>
<key>kRequireSpaceAfterPropertyDeclaration</key>
<true/>
<key>kRequireSpaceAfterMethodType</key>
<true/>
<key>kRequireSpaceAfterReturnType</key>
<false/>
<key>kRequireEmptyLineAboveReturnStatement</key>
<true/>
<key>kRequireSpaceAfterPropertyTypeDeclaration</key>
<true/>
<key>kAsteriskSpacingRule</key>
<integer>2</integer>
<key>kRequireSpaceBeforeProtocolDeclarations</key>
<true/>
<key>kRequireSpaceBetweenTernaryOperators</key>
<true/>
<key>kRequireSpaceBeforeParameter</key>
<false/>
<key>kAllowSingleLineIfStatements</key>
<true/>
<key>kRequireSpaceAfterColon</key>
<false/>
<key>kRequireOpenBraceOnMethodSignatureLine</key>
<true/>
<key>kRequireOpenBraceOnConditionalStatementLine</key>
<true/>
<key>kRequireNoEmptyLineAsFirstLineInMethod</key>
<false/>
<key>kRequireSpaceBeforeOpeningBrace</key>
<true/>
<key>KNumberOfEmptyLinesBetweenMethods</key>
<integer>2</integer>
<key>kNumberOfEmptyLinesBeforeImplementation</key>
<integer>3</integer>
<key>kNumberOfEmptyLinesAfterImplementation</key>
<integer>2</integer>
<key>kMethodParameterPrefix</key>
<string></string>
<key>kElseFormatRule</key>
<integer>0</integer>
<key>kEqualSpacingRule</key>
<integer>1</integer>
<key>kRequireSpaceAfterConditionalStatement</key>
<true/>
<key>kElseIfFormatRule</key>
<integer>0</integer>
<key>kRequireSpaceAboveBreak</key>
<false/>
<key>kInterfaceColonSpacingRule</key>
<integer>1</integer>
<key>kRequireSpaceAfterCommas</key>
<true/>
<key>kRequireSpaceBeforeCaseColons</key>
<false/>
<key>kSignatureAsteriskSpacingRule</key>
<integer>2</integer>
<key>kNumberOfEmptyLinesAboveClassExtension</key>
<integer>3</integer>
<key>kNumberOfEmptyLinesAboveInterface</key>
<integer>3</integer>
<key>kViolationsShouldBeErrors</key>
<false/>
<key>kRequireSpaceAfterParameterType</key>
<false/>
<key>kStaticVariableAsteriskSpacingRule</key>
<integer>2</integer>
<key>kNumberOfEmptyLinesBeforePragma</key>
<integer>2</integer>
<key>kNumberOfEmptyLinesAfterPragma</key>
<integer>2</integer>
<key>kNumberOfEmptyLinesAboveEnd</key>
<integer>1</integer>
<key>kComparisonSpacingRule</key>
<integer>1</integer>
<key>kNumberOfEmptyLinesAboveCategory</key>
<integer>3</integer>
<key>kRequireSpaceAfterPropertyDeclaration</key>
<true/>
<key>kRequireSpaceAfterMethodType</key>
<true/>
<key>kRequireSpaceAfterReturnType</key>
<false/>
<key>kRequireEmptyLineAboveReturnStatement</key>
<true/>
<key>kRequireSpaceAfterPropertyTypeDeclaration</key>
<true/>
<key>kAsteriskSpacingRule</key>
<integer>2</integer>
<key>kRequireSpaceBeforeProtocolDeclarations</key>
<true/>
<key>kRequireSpaceBetweenTernaryOperators</key>
<true/>
<key>kRequireSpaceBeforeParameter</key>
<false/>
<key>kAllowSingleLineIfStatements</key>
<true/>

</dict>
</plist>
</plist>

0 comments on commit f8c170e

Please sign in to comment.