Skip to content

Commit

Permalink
added linux build script
Browse files Browse the repository at this point in the history
upped the version
  • Loading branch information
taeguscromis committed Feb 1, 2022
1 parent 8cabe6d commit 7b98cb7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash
rm -rf ./bin/linux/*
mkdir -p ./bin/linux
pkg index.js --targets node10-linux-x64 --output ./bin/linux/guardian-linux64
cp -R ./html ./bin/linux/html
cp ./exclude.txt ./bin/linux/exclude.txt
cp ./ccx-guardian.service.template ./bin/linux
cp ./config.json.sample ./bin/linux/config.json
tar -czf ./bin/linux/guardian-linux64.tar.gz -C ./bin/linux guardian-linux64 config.json exclude.txt ccx-guardian.service.template html
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nodeguard",
"version": "0.6.0",
"version": "0.6.1",
"description": "Conceal Node Guard",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 7b98cb7

Please sign in to comment.