forked from dataproofer/Dataproofer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build-executables.sh
executable file
·28 lines (21 loc) · 974 Bytes
/
build-executables.sh
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
#!/usr/bin/env bash
# we unlink the repositories
echo 'unlinking repositories'
cd electron
npm install dataproofer
npm install dataproofer-info-suite
npm install dataproofer-core-suite
npm install dataproofer-stats-suite
npm install dataproofer-geo-suite
echo 'building for Mac'
./node_modules/.bin/electron-packager . Dataproofer --platform=darwin --arch=x64 --icon='icons/_dp-robot.png.icns' --version=0.36.11 --out=../executables --overwrite
echo 'building for Windows'
./node_modules/.bin/electron-packager . Dataproofer --platform=win32 --arch=x64 --icon='icons/_dp-robot.png.ico' --version=0.36.11 --out=../executables --overwrite
echo 'building for Linux'
./node_modules/.bin/electron-packager . Dataproofer --platform=linux --arch=x64 --version=0.36.11 --out=../executables --overwrite
#echo 'relinking'
#npm link dataproofer
#npm link dataproofer-info-suite
#npm link dataproofer-core-suite
#npm link dataproofer-stats-suite
#npm link dataproofer-geo-suite