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
545 B
Bash
Raw Normal View History

#!/bin/bash
rm -rf bin
mkdir bin
2021-05-23 18:29:00 +02:00
npm ci --silent
2020-05-26 19:04:11 +02:00
2020-11-30 22:46:33 +01:00
npm run compile
2021-10-23 21:19:37 +02:00
./node_modules/.bin/pkg ./dist/package.json --targets node14-win-x64 --output bin/bgpalerter-win-x64 --loglevel=error
2021-10-23 21:19:37 +02:00
./node_modules/.bin/pkg ./dist/package.json --targets node14-linux-x64 --output bin/bgpalerter-linux-x64 --loglevel=error
2021-10-23 21:19:37 +02:00
./node_modules/.bin/pkg ./dist/package.json --targets node14-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