forked from ewfm/ewfm
Update processor support, xbs support and inclusions.conf support.
This commit is contained in:
parent
3caf6c0fe5
commit
3eb2afed6a
3 changed files with 32 additions and 4 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -1,3 +1,7 @@
|
|||
/sites
|
||||
build.xbs
|
||||
xbs.rb
|
||||
/output-gmi
|
||||
/proc
|
||||
/themes
|
||||
/input
|
||||
|
|
26
init.sh
26
init.sh
|
@ -31,4 +31,30 @@ echo $theme | tee -a input/site.conf
|
|||
echo "All done!"
|
||||
echo "If you haven't already read the docs at ewfm.colean.cc/docs"
|
||||
echo "and run populate.sh to download all the ewfm themes!"
|
||||
|
||||
echo ".jpeg" | tee -a input/inclusions.conf
|
||||
echo ".jpg" | tee -a input/inclusions.conf
|
||||
echo ".gif" | tee -a input/inclusions.conf
|
||||
echo ".png" | tee -a input/inclusions.conf
|
||||
echo ".bmp" | tee -a input/inclusions.conf
|
||||
echo ".webp" | tee -a input/inclusions.conf
|
||||
echo ".webm" | tee -a input/inclusions.conf
|
||||
echo ".txt" | tee -a input/inclusions.conf
|
||||
echo ".rtf" | tee -a input/inclusions.conf
|
||||
echo ".doc" | tee -a input/inclusions.conf
|
||||
echo ".xls" | tee -a input/inclusions.conf
|
||||
echo ".docx" | tee -a input/inclusions.conf
|
||||
echo ".xlsx" | tee -a input/inclusions.conf
|
||||
echo ".zip" | tee -a input/inclusions.conf
|
||||
echo ".tar" | tee -a input/inclusions.conf
|
||||
echo ".gz" | tee -a input/inclusions.conf
|
||||
echo ".tgz" | tee -a input/inclusions.conf
|
||||
echo ".txz" | tee -a input/inclusions.conf
|
||||
echo ".lzma" | tee -a input/inclusions.conf
|
||||
echo ".xz" | tee -a input/inclusions.conf
|
||||
echo ".bz2" | tee -a input/inclusions.conf
|
||||
echo ".bzip2" | tee -a input/inclusions.conf
|
||||
echo ".tbz" | tee -a input/inclusions.conf
|
||||
echo ".tbz2" | tee -a input/inclusions.conf
|
||||
|
||||
mkdir output
|
||||
|
|
4
main.rb
4
main.rb
|
@ -213,10 +213,8 @@ if(File.exist?('input/postproc.conf'))
|
|||
list = IO.readlines("input/postproc.conf", chomp: true)
|
||||
for proc in list
|
||||
if(File.exist?('proc/' + proc +'/post.sh'))
|
||||
for file in procfiles
|
||||
runner = `proc/#{proc}/post.sh #{file}`
|
||||
runner = `proc/#{proc}/post.sh`
|
||||
puts runner
|
||||
end
|
||||
else
|
||||
puts proc +" does not support being used as a post-processor."
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue