Skip to content

Commit

Permalink
build-and-run scripts added to contribute
Browse files Browse the repository at this point in the history
  • Loading branch information
theriverman committed Oct 4, 2020
1 parent f45821d commit 6fa517f
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
5 changes: 5 additions & 0 deletions contribute/build-and-run.bat
Original file line number Diff line number Diff line change
@@ -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
13 changes: 13 additions & 0 deletions contribute/build-and-run.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 6fa517f

Please sign in to comment.