budibase/scripts/cleanup.sh

12 lines
147 B
Bash
Raw Normal View History

#!/bin/bash
dir=$(pwd)
mv dist /
mv package.json /
cd /
rm -r $dir
mkdir $dir
mv /dist $dir
mv /package.json $dir
cd $dir
NODE_ENV=production yarn