diff --git a/local.sh b/local.sh new file mode 100644 index 0000000..1039dfa --- /dev/null +++ b/local.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +set -e + +if [ -z "$1" -o -z "$2" ]; then + echo "Usage: $0 " + exit 1 +fi + +docker build -t mdocs-local . +docker run --rm -e WORKSPACE=/github/workspace -v "$(pwd):/github/workspace" mdocs-local "${1%/}" "${2%/}" \ No newline at end of file