ci/dev.sh: Add

This commit is contained in:
Anmol Sethi 2022-12-01 02:47:18 -08:00
parent d21e36b407
commit 80b9d1b057
No known key found for this signature in database
GPG key ID: 25BC68888A99A8BA
2 changed files with 8 additions and 0 deletions

1
.gitignore vendored
View file

@ -4,3 +4,4 @@
*.got.json
*.got.svg
e2e_report.html
bin

7
ci/dev.sh Executable file
View file

@ -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 "$@"