mirror of
https://github.com/c9fe/22120.git
synced 2024-08-18 23:29:45 +02:00
23 lines
305 B
Bash
Executable File
23 lines
305 B
Bash
Executable File
#!/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"
|
|
|