2019-01-02 15:07:29 +01:00
|
|
|
.PHONY: all install clean
|
|
|
|
|
|
|
|
VERSION = 1.0.0
|
|
|
|
|
2019-04-24 14:25:11 +02:00
|
|
|
all: build mac linux win32 win64
|
2019-01-02 15:07:29 +01:00
|
|
|
|
|
|
|
install: package.json
|
2020-09-13 10:13:22 +02:00
|
|
|
yarn install
|
2019-01-02 15:07:29 +01:00
|
|
|
|
2019-04-24 14:25:11 +02:00
|
|
|
build: install
|
2020-09-13 10:13:22 +02:00
|
|
|
yarn run build
|
2019-04-24 14:25:11 +02:00
|
|
|
|
2019-01-02 15:07:29 +01:00
|
|
|
mac:
|
2020-09-13 10:13:22 +02:00
|
|
|
yarn run package:mac
|
2019-01-02 15:07:29 +01:00
|
|
|
mv build/Whalebird-${VERSION}-mac.dmg build/Whalebird-${VERSION}-darwin-x64.dmg
|
2020-04-02 16:49:45 +02:00
|
|
|
cd build; shasum -a 256 Whalebird-${VERSION}-darwin-x64.dmg >> sha256sum.txt
|
2019-01-02 15:07:29 +01:00
|
|
|
|
2019-09-17 18:08:36 +02:00
|
|
|
mas:
|
2020-09-13 10:13:22 +02:00
|
|
|
yarn run build:mas
|
2019-09-17 18:08:36 +02:00
|
|
|
./appStore.sh
|
|
|
|
|
2019-01-02 15:07:29 +01:00
|
|
|
linux:
|
2020-09-13 10:13:22 +02:00
|
|
|
yarn run package:linux
|
2019-04-24 02:07:50 +02:00
|
|
|
mv build/Whalebird-${VERSION}-linux-amd64.deb build/Whalebird-${VERSION}-linux-x64.deb
|
|
|
|
mv build/Whalebird-${VERSION}-linux-x86_64.rpm build/Whalebird-${VERSION}-linux-x64.rpm
|
|
|
|
mv build/Whalebird-${VERSION}-linux-i386.deb build/Whalebird-${VERSION}-linux-ia32.deb
|
|
|
|
mv build/Whalebird-${VERSION}-linux-i686.rpm build/Whalebird-${VERSION}-linux-ia32.rpm
|
2019-11-07 15:55:32 +01:00
|
|
|
mv build/Whalebird-${VERSION}-linux-x86_64.AppImage build/Whalebird-${VERSION}-linux-x64.AppImage
|
2020-04-02 16:49:45 +02:00
|
|
|
cd build; shasum -a 256 Whalebird-${VERSION}-linux-arm64.tar.bz2 >> sha256sum.txt
|
|
|
|
cd build; shasum -a 256 Whalebird-${VERSION}-linux-armv7l.tar.bz2 >> sha256sum.txt
|
|
|
|
cd build; shasum -a 256 Whalebird-${VERSION}-linux-i686.pacman >> sha256sum.txt
|
|
|
|
cd build; shasum -a 256 Whalebird-${VERSION}-linux-ia32.deb >> sha256sum.txt
|
|
|
|
cd build; shasum -a 256 Whalebird-${VERSION}-linux-ia32.rpm >> sha256sum.txt
|
|
|
|
cd build; shasum -a 256 Whalebird-${VERSION}-linux-x64.AppImage >> sha256sum.txt
|
|
|
|
cd build; shasum -a 256 Whalebird-${VERSION}-linux-x64.deb >> sha256sum.txt
|
|
|
|
cd build; shasum -a 256 Whalebird-${VERSION}-linux-x64.pacman >> sha256sum.txt
|
|
|
|
cd build; shasum -a 256 Whalebird-${VERSION}-linux-x64.rpm >> sha256sum.txt
|
|
|
|
cd build; shasum -a 256 Whalebird-${VERSION}-linux-x64.tar.bz2 >> sha256sum.txt
|
2019-01-02 15:07:29 +01:00
|
|
|
|
2019-04-24 02:07:50 +02:00
|
|
|
win32:
|
2020-09-13 10:13:22 +02:00
|
|
|
yarn run package:win32
|
2019-04-24 02:07:50 +02:00
|
|
|
mv build/Whalebird-${VERSION}-win.exe build/Whalebird-${VERSION}-windows-ia32.exe
|
2020-04-02 16:49:45 +02:00
|
|
|
cd build; shasum -a 256 Whalebird-${VERSION}-windows-ia32.exe >> sha256sum.txt
|
2019-04-24 02:07:50 +02:00
|
|
|
|
|
|
|
win64:
|
2020-09-13 10:13:22 +02:00
|
|
|
yarn run package:win64
|
2019-01-02 15:07:29 +01:00
|
|
|
mv build/Whalebird-${VERSION}-win.exe build/Whalebird-${VERSION}-windows-x64.exe
|
2020-04-02 16:49:45 +02:00
|
|
|
cd build; shasum -a 256 Whalebird-${VERSION}-windows-x64.exe >> sha256sum.txt
|
2019-01-02 15:07:29 +01:00
|
|
|
|
|
|
|
clean:
|
2020-09-13 10:13:22 +02:00
|
|
|
yarn run build:clean
|