diff --git a/.gitignore b/.gitignore index 67d08864e..7af7b3572 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ *.got.json *.got.svg e2e_report.html +bin diff --git a/ci/dev.sh b/ci/dev.sh new file mode 100755 index 000000000..cbc71bf79 --- /dev/null +++ b/ci/dev.sh @@ -0,0 +1,7 @@ +#!/bin/sh +set -eu +cd -- "$(dirname "$0")/.." +. ./ci/sub/lib.sh + +sh_c go build --tags=dev -o=bin/d2 . +sh_c ./bin/d2 "$@"