Whalebird-desktop-client-ma.../Makefile

38 lines
932 B
Makefile
Raw Normal View History

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
npm install
2019-04-24 14:25:11 +02:00
build: install
npm run build
2019-01-02 15:07:29 +01:00
mac:
2019-04-24 14:25:11 +02:00
npm run package:mac
2019-01-02 15:07:29 +01:00
mv build/Whalebird-${VERSION}-mac.dmg build/Whalebird-${VERSION}-darwin-x64.dmg
2019-09-17 18:08:36 +02:00
mas:
npm run build:mas
./appStore.sh
2019-01-02 15:07:29 +01:00
linux:
2019-04-24 14:25:11 +02:00
npm run package:linux
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-01-02 15:07:29 +01:00
win32:
2019-04-24 14:25:11 +02:00
npm run package:win32
mv build/Whalebird-${VERSION}-win.exe build/Whalebird-${VERSION}-windows-ia32.exe
win64:
2019-04-24 14:25:11 +02:00
npm run package:win64
2019-01-02 15:07:29 +01:00
mv build/Whalebird-${VERSION}-win.exe build/Whalebird-${VERSION}-windows-x64.exe
clean:
npm run build:clean