Skip to content

Commit 1d7d734

Browse files
committed
Swiftlint 0.26.0
1 parent dc4e504 commit 1d7d734

File tree

1 file changed

+1
-1
lines changed
  • WKJavaScriptController-Demo/WKJavaScriptController-Demo.xcodeproj

1 file changed

+1
-1
lines changed

WKJavaScriptController-Demo/WKJavaScriptController-Demo.xcodeproj/project.pbxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@
214214
);
215215
runOnlyForDeploymentPostprocessing = 0;
216216
shellPath = /bin/sh;
217-
shellScript = "function toVersion { echo -e \"$@\" | awk -F. '{ printf(\"%d%03d%03d%03d\\n\", $1,$2,$3,$4); }'; }\nif which swiftlint >/dev/null; then\n current=$(swiftlint version)\n require=\"0.23.1\"\n if [ $(toVersion \"$current\") -ge $(toVersion \"$require\") ]; then\n cd \"${PROJECT_DIR}/../\"\n swiftlint\n else\n echo \"SwiftLint requires a SwiftLint version of >= $require. You are on $current.\"\n echo \"Please update using 'brew upgrade swiftlint'.\"\n exit 101\n fi\nelse\n echo \"SwiftLint does not exist, download from https://github.com/realm/SwiftLint\"\n exit 100\nfi";
217+
shellScript = "function toVersion { echo -e \"$@\" | awk -F. '{ printf(\"%d%03d%03d%03d\\n\", $1,$2,$3,$4); }'; }\nif which swiftlint >/dev/null; then\n current=$(swiftlint version)\n require=\"0.26.0\"\n if [ $(toVersion \"$current\") -ge $(toVersion \"$require\") ]; then\n cd \"${PROJECT_DIR}/../\"\n swiftlint\n else\n echo \"SwiftLint requires a SwiftLint version of >= $require. You are on $current.\"\n echo \"Please update using 'brew upgrade swiftlint'.\"\n exit 101\n fi\nelse\n echo \"SwiftLint does not exist, download from https://github.com/realm/SwiftLint\"\n exit 100\nfi";
218218
};
219219
FAD7856FCA59270D07D9FB11 /* [CP] Embed Pods Frameworks */ = {
220220
isa = PBXShellScriptBuildPhase;

0 commit comments

Comments
 (0)