mirror of
https://github.com/c9fe/22120.git
synced 2024-10-03 21:57:13 +02:00
Updating build scripts
This commit is contained in:
parent
745a9a44a6
commit
ec7f2a4bb3
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "diskernet",
|
||||
"version": "2.9.0",
|
||||
"version": "3.0.0",
|
||||
"type": "module",
|
||||
"description": "Library server and an archivist browser controller.",
|
||||
"main": "src/app.js",
|
||||
@ -41,7 +41,7 @@
|
||||
"library"
|
||||
],
|
||||
"author": "@dosy",
|
||||
"license": "PolyForm Strict 1.0",
|
||||
"license": "AGPL-3.0",
|
||||
"bugs": {
|
||||
"url": "https://github.com/dosyago/DiskerNet/issues"
|
||||
},
|
||||
|
@ -1,9 +1,14 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
./scripts/build_only.sh
|
||||
|
||||
unset npm_config_prefix
|
||||
source $HOME/.nvm/nvm.sh
|
||||
nvm use --lts
|
||||
PKG=$(which pkg)
|
||||
if [ -z $PKG ]; then
|
||||
npm i -g pkg@latest
|
||||
PKG=$(which pkg)
|
||||
fi
|
||||
|
||||
pkg --compress GZip .
|
||||
./scripts/build_only.sh
|
||||
|
||||
$PKG --compress GZip .
|
||||
|
Loading…
Reference in New Issue
Block a user