mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-12-23 11:02:43 +03:00
14 lines
297 B
Bash
Executable File
14 lines
297 B
Bash
Executable File
#!/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
|
|
|
|
|