mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-24 04:38:16 +00:00
Adding configuration file and extending makefile to support http://travis-ci.org.
17 lines
565 B
Makefile
17 lines
565 B
Makefile
.PHONY: all localizable-strings
|
|
|
|
BUILDDIR := $(shell mktemp -d "$(TMPDIR)/Sparkle.XXXXXX")
|
|
|
|
localizable-strings:
|
|
rm -f Sparkle/en.lproj/Sparkle.strings
|
|
genstrings -o Sparkle/en.lproj -s SULocalizedString Sparkle/*.m Sparkle/*.h
|
|
iconv -f UTF-16 -t UTF-8 < Sparkle/en.lproj/Localizable.strings > Sparkle/en.lproj/Sparkle.strings
|
|
rm Sparkle/en.lproj/Localizable.strings
|
|
|
|
release:
|
|
xcodebuild -scheme Distribution -configuration Release -derivedDataPath "$(BUILDDIR)"
|
|
open -R "$(BUILDDIR)/Build/Products/Release/Sparkle-"*.tar.bz2
|
|
|
|
travis:
|
|
xcodebuild clean build
|