16 lines
291 B
Bash
Executable File
16 lines
291 B
Bash
Executable File
#! /usr/bin/bash
|
|
|
|
rm -rf dist
|
|
|
|
cd srv
|
|
yarn build --no-source-maps > /dev/null 2>&1
|
|
|
|
cd ../web
|
|
yarn build --no-source-maps > /dev/null 2>&1
|
|
|
|
cd ..
|
|
mv srv/dist dist -f
|
|
mv web/dist dist/web -f
|
|
cp srv/node_modules dist/node_modules -rf
|
|
cp srv/public dist/public -rf
|
|
cp web/static/* dist/web/ -rf |