mirror of
https://github.com/c9fe/22120.git
synced 2024-08-18 15:19:40 +02:00
15 lines
215 B
Bash
Executable File
15 lines
215 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
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
|
|
|
|
./scripts/build_only.sh
|
|
|
|
$PKG --compress GZip .
|