mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2024-12-11 01:10:38 +01:00
19 lines
267 B
Bash
19 lines
267 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
# clear previous build
|
||
|
rm -rf /build/*
|
||
|
|
||
|
# build webpack
|
||
|
npm run build
|
||
|
# remove node stuff from directory
|
||
|
rm -rf node_modules/
|
||
|
# copy all to build dir
|
||
|
cp -R ./* /build/
|
||
|
|
||
|
# remove unneccesary files
|
||
|
cd /build
|
||
|
rm *.md
|
||
|
rm AUTHORS
|
||
|
rm vnc.html
|
||
|
rm vnc_lite.html
|