1
0
mirror of https://github.com/h3poteto/whalebird-desktop synced 2024-12-13 01:07:37 +01:00
Whalebird-desktop-client-ma.../Makefile

26 lines
644 B
Makefile
Raw Normal View History

2019-01-02 15:07:29 +01:00
.PHONY: all install clean
VERSION = 1.0.0
all: install mac linux windows
install: package.json
npm install
mac:
npm run build:mac
mv build/Whalebird-${VERSION}-mac.dmg build/Whalebird-${VERSION}-darwin-x64.dmg
linux:
npm run build:linux
mv build/Whalebird-${VERSION}-linux.deb build/Whalebird-${VERSION}-linux-x64.deb
mv build/Whalebird-${VERSION}-linux.rpm build/Whalebird-${VERSION}-linux-x64.rpm
mv build/Whalebird-${VERSION}-linux.tar.bz2 build/Whalebird-${VERSION}-linux-x64.tar.bz2
windows:
npm run build:windows
mv build/Whalebird-${VERSION}-win.exe build/Whalebird-${VERSION}-windows-x64.exe
clean:
npm run build:clean