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

35 lines
1.4 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
echo dlfs.lua
lua minify.lua dlfs.lua mini-dlfs.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
cat microtel/mini-microtel-{3,4,5-core,5-open}.lua mini-fget.lua mini-dlfs.lua > mini-nbcore.lua
cat microtel/microtel-{3,4,5-core,5-open}.lua fget.lua dlfs.lua > nbcore.lua