galerie/build
0xf8 3e3361ddbc
Initial commit
Signed-off-by: 0xf8 <0xf8.dev@proton.me>
2023-02-25 12:24:57 -05:00

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