mirror of
https://github.com/simon987/sist2.git
synced 2025-04-10 14:06:45 +00:00
* extract scan code to libscan, (wip) * submodules * replace curl with mongoose (wip) * replace onion with mongoose (wip) * replace onion with mongoose (wip) * It compiles! (I think) * Update readme * Entirely remove libonion (WIP) * unscramble submodules * recover screenshot * Update mappings * Bug fixes * update * media meta fix * memory fixes * More bug fixes... * Bug fix w/ libmagic & vfile * libmagic fix (again) * Better lightbox, better video handler, random reloads fix * Use svg for info icon * re-enable http auth * mobi support #41, fix logs * Update README & cleanup
18 lines
669 B
Bash
Executable File
18 lines
669 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
rm -rf index.sist2/
|
|
|
|
rm src/static/js/bundle.js 2> /dev/null
|
|
cat `ls src/static/js/*.min.js` > src/static/js/bundle.js
|
|
cat src/static/js/{util,dom,search}.js >> src/static/js/bundle.js
|
|
|
|
rm src/static/css/bundle*.css 2> /dev/null
|
|
cat src/static/css/*.min.css > src/static/css/bundle.css
|
|
cat src/static/css/light.css >> src/static/css/bundle.css
|
|
cat src/static/css/*.min.css > src/static/css/bundle_dark.css
|
|
cat src/static/css/dark.css >> src/static/css/bundle_dark.css
|
|
|
|
python3 scripts/mime.py > src/parsing/mime_generated.c
|
|
python3 scripts/serve_static.py > src/web/static_generated.c
|
|
python3 scripts/index_static.py > src/index/static_generated.c
|