-
-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Info.plist template and remove unsigning
- Loading branch information
Showing
3 changed files
with
30 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,35 @@ | ||
VERSION ?= $(shell git describe --tags) | ||
|
||
.PHONY: clean release | ||
|
||
release: | ||
mkdir -p builds/ | ||
echo $(version) > builds/LATEST | ||
|
||
# Mac OS X | ||
cp MusicBeam/sketch.icns MusicBeam/application.macosx/MusicBeam.app/Contents/Resources/sketch.icns | ||
defaults write $(pwd)MusicBeam/application.macosx/MusicBeam.app/Contents/Info.plist LSUIPresentationMode -int 4 | ||
-codesign --remove-signature $(pwd)MusicBeam/application.macosx/MusicBeam.app | ||
(cd MusicBeam/application.macosx/ && zip -rq ../../builds/MusicBeam-v$(version)-macosx.zip *) | ||
zip -q builds/MusicBeam-v$(version)-macosx.zip LICENSE README.md | ||
(cd MusicBeam/application.macosx/ && zip -rq ../../builds/MusicBeam-v$(VERSION)-macosx.zip *) | ||
zip -q builds/MusicBeam-v$(VERSION)-macosx.zip LICENSE README.md | ||
|
||
# Win32 | ||
(cd MusicBeam/application.windows32/ && zip -rq ../../builds/MusicBeam-v$(version)-windows32.zip *) | ||
zip -q builds/MusicBeam-v$(version)-windows32.zip LICENSE README.md | ||
(cd MusicBeam/application.windows32/ && zip -rq ../../builds/MusicBeam-v$(VERSION)-windows32.zip *) | ||
zip -q builds/MusicBeam-v$(VERSION)-windows32.zip LICENSE README.md | ||
|
||
# Win64 | ||
(cd MusicBeam/application.windows64/ && zip -rq ../../builds/MusicBeam-v$(version)-windows64.zip *) | ||
zip -q builds/MusicBeam-v$(version)-windows64.zip LICENSE README.md | ||
(cd MusicBeam/application.windows64/ && zip -rq ../../builds/MusicBeam-v$(VERSION)-windows64.zip *) | ||
zip -q builds/MusicBeam-v$(VERSION)-windows64.zip LICENSE README.md | ||
|
||
# Linux i386 | ||
(cd MusicBeam/application.linux32/ && zip -rq ../../builds/MusicBeam-v$(version)-linux32.zip *) | ||
zip -q builds/MusicBeam-v$(version)-linux32.zip LICENSE README.md | ||
(cd MusicBeam/application.linux32/ && zip -rq ../../builds/MusicBeam-v$(VERSION)-linux32.zip *) | ||
zip -q builds/MusicBeam-v$(VERSION)-linux32.zip LICENSE README.md | ||
|
||
# Linux x86_64 | ||
(cd MusicBeam/application.linux64/ && zip -rq ../../builds/MusicBeam-v$(version)-linux64.zip *) | ||
zip -q builds/MusicBeam-v$(version)-linux64.zip LICENSE README.md | ||
(cd MusicBeam/application.linux64/ && zip -rq ../../builds/MusicBeam-v$(VERSION)-linux64.zip *) | ||
zip -q builds/MusicBeam-v$(VERSION)-linux64.zip LICENSE README.md | ||
|
||
clean: | ||
rm -rf ./MusicBeam/appliaction.* ./builds/ | ||
rm -rf ./MusicBeam/application.* | ||
rm -rf ./builds/ | ||
|
||
test: | ||
read -e -p "Enter Your Name:" NAME | ||
echo $$NAME |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters