Commit f667c235 authored by John Tourtellott's avatar John Tourtellott

Fix things so that pug files can be used to build .sbt templates

Includes bringing fixmultilinetext.py back from legacy (oops)
parent 140dd15f
#!/usr/bin/env bash
# Script to generate .sbt files from pug templates
# For convenience only, but in order to use:
# * pug-cli must be installed
# * python bindings for libxml must be installed (pip install libxml)
# List of pug templates to render
declare -a names=( \
"body-source-probe" \
......@@ -34,5 +39,5 @@ for name in ${names[@]}; do
#echo ${name}
rm -f ${subfolder}/${name}.sbt
pug ${subfolder}/pug/${name}.pug --pretty --extension sbt -o ${subfolder}
# python fixmultilinetext.py ${subfolder}/${name}.sbt
python fixmultilinetext.py ${subfolder}/${name}.sbt
done
......@@ -394,6 +394,7 @@ has been reached</BriefDescription>
</Group>
</ItemDefinitions>
</Group>
</ItemDefinitions>
</Group>
<!-- Thermal plus flow case-->
......
......@@ -186,3 +186,5 @@ Group(Name="viscous-flow-model" Label="Viscous Flow Model"
Value summary
Value iterates
Value full
= '\n'
......@@ -147,7 +147,7 @@ SMTK_AttributeSystem(Version="2")
// Fluid-only case
Group(Name="fluid" Label="Fluid Only")
ItemDefinitions
include ./fluid-numerics.jade
include ./fluid-numerics.pug
// Thermal plus flow case
Group(Name="thermal-plus-fluid" Label="Thermal plus Fluid")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment