mirror of
https://github.com/c9fe/22120.git
synced 2024-09-11 18:42:29 +02:00
23 lines
305 B
Bash
23 lines
305 B
Bash
|
#!/usr/bin/env bash
|
||
|
|
||
|
source $HOME/.nvm/nvm.sh
|
||
|
|
||
|
echo "Making build directories..."
|
||
|
|
||
|
mkdir -p dist/
|
||
|
mkdir -p bin/
|
||
|
mkdir -p build/
|
||
|
|
||
|
echo "Setting node to lts/*..."
|
||
|
nvm use --lts
|
||
|
|
||
|
echo "Installing pkg..."
|
||
|
|
||
|
which pkg || npm i -g pkg
|
||
|
|
||
|
echo "Installing esbuild..."
|
||
|
npm install --save-exact esbuild
|
||
|
|
||
|
echo "Done"
|
||
|
|