From 9992fa28ed3df8bf0ef19d7cc690134ad8063611 Mon Sep 17 00:00:00 2001 From: Kevin Wojniak Date: Fri, 10 Jul 2015 13:14:22 -0700 Subject: [PATCH] CheckLocalizations: use swift shebang --- Makefile | 3 +-- Sparkle/CheckLocalizations.swift | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index ab7ee819..b3de3f8f 100644 --- a/Makefile +++ b/Makefile @@ -28,6 +28,5 @@ ci: done check-localizations: - xcrun swiftc -sdk `xcrun --show-sdk-path` -o "$(TMPDIR)/CheckLocalizations" Sparkle/CheckLocalizations.swift - "$(TMPDIR)/CheckLocalizations" -root . -htmlPath "$(TMPDIR)/LocalizationsReport.htm" + ./Sparkle/CheckLocalizations.swift -root . -htmlPath "$(TMPDIR)/LocalizationsReport.htm" open "$(TMPDIR)/LocalizationsReport.htm" diff --git a/Sparkle/CheckLocalizations.swift b/Sparkle/CheckLocalizations.swift index 4c2a518b..1f751fda 100755 --- a/Sparkle/CheckLocalizations.swift +++ b/Sparkle/CheckLocalizations.swift @@ -1,3 +1,5 @@ +#!/usr/bin/xcrun swift + import Foundation func die(msg: String) {