mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-23 04:34:27 +00:00
Use `make release` to build Sparkle and create a Sparkle-VERSION.zip, ready for upload.
14 lines
533 B
Makefile
14 lines
533 B
Makefile
.PHONY: all localizable-strings
|
|
|
|
builddir := $(shell mktemp -d "$(TMPDIR)/Sparkle.XXXXXX")
|
|
|
|
localizable-strings:
|
|
rm Sparkle/en.lproj/Sparkle.strings || TRUE
|
|
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-"*.zip
|