mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2024-12-28 09:38:57 +01:00
20 lines
276 B
Bash
Executable File
20 lines
276 B
Bash
Executable File
#!/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 *.yml
|
|
rm vnc.html
|
|
rm vnc_lite.html
|