#!/bin/sh set -eu ./gistatic -i -o tmp/ tests/resources/repositories/* for r in tests/resources/repositories/* $PWD; do NAME="$(basename "$r")" mkdir -p "tmp/$NAME" ./gistatic -u "https://example.com/$NAME" -o "tmp/$NAME" "$r" done