computable-pandoc/scripts/make_jsons.sh

12 lines
181 B
Bash

# Makes JSON test files
# Variables
FILTER=dist/lin.lua
FILES="tests/*.md"
for file in $FILES; do
if [ -f $file.json ]; then
pandoc -L $FILTER -o $file.json $file
fi
done