mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2024-11-24 17:14:01 +01:00
19 lines
276 B
Bash
Executable File
19 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 vnc.html
|
|
ln -s index.html vnc.html
|