This repository has been archived by the owner on Aug 7, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile
65 lines (59 loc) · 2.25 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#
# Makefile
#
# Copyright (C) 2008-2018 Veselin Penev https://bitdust.io
#
# This file (Makefile) is part of BitDust Software.
#
# BitDust is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# BitDust Software is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with BitDust Software. If not, see <http://www.gnu.org/licenses/>.
#
# Please contact us if you have any questions at bitdust.io@gmail.com
build_dmg:
@echo "building dist/BitDustDesktop.dmg"
@echo "extracting build_resources/macos/python.zip"
@unzip -q -u build_resources/macos/python.zip -d build_resources/macos/
@npm run dist-mac
@echo ""
@echo "compress dist/BitDustDesktop.dmg to dist/BitDustDesktop_dmg.zip"
@cp ./dist/BitDustDesktop.dmg .
@zip -0 BitDustDesktop.zip BitDustDesktop.dmg
@rm -vrf BitDustDesktop.dmg
@mv ./BitDustDesktop.zip ./dist/BitDustDesktop_dmg.zip
@echo ""
@echo "DONE! now you should upload file ./dist/BitDustDesktop_dmg.zip to GitHub releases page"
@echo ""
build_deb:
@echo "building dist/BitDustDesktop.deb"
@npm run dist-deb
@echo ""
@echo "compress dist/BitDustDesktop.deb to dist/BitDustDesktop_deb.zip"
@cp ./dist/BitDustDesktop.deb .
@zip -0 BitDustDesktop.zip BitDustDesktop.deb
@rm -vrf BitDustDesktop.deb
@mv ./BitDustDesktop.zip ./dist/BitDustDesktop_deb.zip
@echo ""
@echo "DONE! now you should upload file ./dist/BitDustDesktop_deb.zip to GitHub releases page"
@echo ""
build_exe:
@echo "building dist/BitDustDesktop.exe"
@npm run dist-win
@echo ""
@echo "compress dist/BitDustDesktop.exe to dist/BitDustDesktop_exe.zip"
@cp ./dist/BitDustDesktop.exe .
@zip -0 BitDustDesktop.zip BitDustDesktop.exe
@rm -vrf BitDustDesktop.exe
@mv ./BitDustDesktop.zip ./dist/BitDustDesktop_exe.zip
@echo ""
@echo "DONE! now you should upload file ./dist/BitDustDesktop_exe.zip to GitHub releases page"
@echo ""