forked from codingjoe/MusicBeam
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
29 lines (23 loc) · 1.27 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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
# Win32
(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
# 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
# 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
clean:
rm -rf ./MusicBeam/appliaction.* ./builds/