1
0
mirror of https://github.com/nttgin/BGPalerter.git synced 2024-05-19 06:50:08 +00:00
Files
nttgin-BGPalerter/build.sh

19 lines
550 B
Bash
Raw Normal View History

#!/bin/bash
rm -rf bin
mkdir bin
npm install --silent
2020-05-26 19:04:11 +02:00
2020-11-30 22:46:33 +01:00
npm run compile
2020-11-30 22:46:33 +01:00
./node_modules/.bin/pkg ./dist/package.json --targets node12-win-x64 --output bin/bgpalerter-win-x64 --loglevel=error
2020-11-30 22:46:33 +01:00
./node_modules/.bin/pkg ./dist/package.json --targets node12-linux-x64 --output bin/bgpalerter-linux-x64 --loglevel=error
2020-11-30 22:46:33 +01:00
./node_modules/.bin/pkg ./dist/package.json --targets node12-macos-x64 --output bin/bgpalerter-macos-x64 --loglevel=error
2020-05-26 19:04:11 +02:00
echo "--> BGPalerter compiled in bin/ (ignore the warnings about files that cannot be resolved)."
2020-11-30 22:46:33 +01:00
rm -rf dist