forked from dataproofer/Dataproofer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild-executables.sh
More file actions
executable file
·34 lines (29 loc) · 1.15 KB
/
build-executables.sh
File metadata and controls
executable file
·34 lines (29 loc) · 1.15 KB
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
#!/usr/bin/env bash
# we unlink the repositories
echo 'unlinking repositories'
cd electron
npm unlink dataproofer
npm unlink dataproofertest-js
npm unlink dataproofer-info-suite
npm unlink dataproofer-core-suite
npm unlink dataproofer-stats-suite
npm unlink dataproofer-geo-suite
npm install dataproofer
npm install dataproofertest-js
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' --out=../executables --overwrite
echo 'building for Windows'
./node_modules/.bin/electron-packager . Dataproofer --platform=win32 --arch=x64 --icon='icons/_dp-robot.png.ico' --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 dataproofertest-js
npm link dataproofer-info-suite
npm link dataproofer-core-suite
npm link dataproofer-stats-suite
npm link dataproofer-geo-suite