-
Notifications
You must be signed in to change notification settings - Fork 5
/
Makefile
40 lines (33 loc) · 1.39 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
30
31
32
33
34
35
36
37
38
39
40
INNO_VERSION=6.2.0
TEMP_DIR=/tmp/flemozi-tar
USR_SHARE=deb-struct/usr/share
BUNDLE_DIR=build/linux/x64/release/bundle
MIRRORLIST=${PWD}/build/mirrorlist
tar:
mkdir -p $(TEMP_DIR)\
&& cp -r $(BUNDLE_DIR)/* $(TEMP_DIR)\
&& cp linux/flemozi.desktop linux/dev.krtirtho.Flemozi.appdata.xml $(TEMP_DIR)\
&& cp assets/logo.png $(TEMP_DIR)\
&& tar -cJf build/flemozi-linux-${VERSION}-x86_64.tar.xz -C $(TEMP_DIR) .\
&& rm -rf $(TEMP_DIR)
aursrcinfo:
docker run -e EXPORT_SRC=1 -v ${PWD}/publishing/aur:/pkg -v ${MIRRORLIST}:/etc/pacman.d/mirrorlist:ro whynothugo/makepkg
publishaur:
echo '[Warning!]: you need SSH paired with AUR'\
&& rm -rf build/flemozi\
&& git clone ssh://[email protected]/flemozi-bin.git build/flemozi\
&& cp publishing/aur/PKGBUILD publishing/aur/.SRCINFO build/flemozi\
&& cd build/flemozi\
&& git add .\
&& git commit -m "${MSG}"\
&& git push
innoinstall:
powershell curl -o build\installer.exe http://files.jrsoftware.org/is/6/innosetup-${INNO_VERSION}.exe
powershell build\installer.exe /verysilent /allusers /dir=build\iscc
inno:
powershell .\build\iscc\iscc.exe scripts\windows-setup-creator.iss
choco:
powershell cp dist\Flemozi-windows-x86_64-setup.exe publishing\chocolatey\tools
powershell choco pack .\publishing\chocolatey\flemozi.nuspec --outputdirectory dist
gensums:
sh -c scripts/gensums.sh