1
0
mirror of https://github.com/ShadowKatStudios/OC-Minitel.git synced 2024-11-14 14:28:05 +11:00
OC-Minitel/Embedded/minify-all.sh

30 lines
1.2 KiB
Bash
Raw Normal View History

#!/bin/bash
2018-05-17 16:46:10 +10:00
echo vt100.lua
lua minify.lua vt100.lua mini-vt100.lua
echo miniprompt.lua
lua minify.lua miniprompt.lua mini-miniprompt.lua
echo fget.lua
lua minify.lua fget.lua mini-fget.lua
echo ufs.lua
lua minify.lua ufs.lua mini-ufs.lua
2018-05-17 16:46:10 +10:00
echo init-wrapper.lua
lua minify.lua init-wrapper.lua mini-init-wrapper.lua
2018-05-17 16:46:10 +10:00
echo microtel-3.lua
lua minify.lua microtel/microtel-3.lua microtel/mini-microtel-3.lua
2018-05-17 16:46:10 +10:00
echo microtel-4.lua
lua minify.lua microtel/microtel-4.lua microtel/mini-microtel-4.lua
2018-05-17 16:46:10 +10:00
echo microtel-5-core.lua
lua minify.lua microtel/microtel-5-core.lua microtel/mini-microtel-5-core.lua
2018-05-17 16:46:10 +10:00
echo microtel-5-listen.lua
lua minify.lua microtel/microtel-5-listen.lua microtel/mini-microtel-5-listen.lua
2018-05-17 16:46:10 +10:00
echo microtel-5-flisten.lua
lua minify.lua microtel/microtel-5-flisten.lua microtel/mini-microtel-5-flisten.lua
2018-05-17 16:46:10 +10:00
echo microtel-5-open.lua
lua minify.lua microtel/microtel-5-open.lua microtel/mini-microtel-5-open.lua
# fun stuff now
cat microtel/mini-microtel-{3,4,5-core,5-open}.lua mini-vt100.lua mini-miniprompt.lua > nminiprompt.lua
lua minify.lua nminiprompt.lua mini-nminiprompt.lua
echo -e "GC,UC=component,computer" | cat - mini-nminiprompt.lua > mini-fnminiprompt.lua
mv mini-fnminiprompt.lua mini-nminiprompt.lua