hurl/integration/generate_html

14 lines
297 B
Plaintext
Raw Normal View History

2020-08-27 10:07:46 +03:00
#!/bin/bash
set -e
mkdir -p target
find tests -name "*.hurl" | while read -r hurl_file; do
echo "$hurl_file"
html_file=target/"${hurl_file%.*}".html
echo "Generating $html_file"
mkdir -p "$(dirname "$html_file")"
hurlfmt --html --standalone "$hurl_file" > "$html_file"
done