diff --git a/contribute/build-and-run.bat b/contribute/build-and-run.bat new file mode 100644 index 0000000..f73189b --- /dev/null +++ b/contribute/build-and-run.bat @@ -0,0 +1,5 @@ +@ECHO off + +cls +go build -ldflags "-X main.taigaUsername=my-username -X main.taigaPassword=my-password -X main.sandboxProjectSlug=my-sandbox-slug -X main.sandboxEpicID=1234567890 -X main.sandboxFileUploadPath=C:\tmp\bad-puns-make-me-sic.png" -o taigo-dev.exe || ECHO Failed to build the binary && exit 1 +.\taigo-dev.exe diff --git a/contribute/build-and-run.sh b/contribute/build-and-run.sh new file mode 100644 index 0000000..1a2722e --- /dev/null +++ b/contribute/build-and-run.sh @@ -0,0 +1,13 @@ +#!/usr/bin/env bash + +clear +go build -ldflags "\ +-X main.taigaUsername=your-username \ +-X main.taigaPassword=your-password \ +-X main.sandboxProjectSlug=my-sandbox-slug \ +-X main.sandboxEpicID=1234567890 \ +-X main.sandboxFileUploadPath=/tmp/bad-puns-make-me-sic.png\ +" \ +-o taigo-dev.exe || ECHO Failed to build the binary && exit 1 + +./taigo-dev