Skip to content

Commit

Permalink
Edit integrationtest.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
dontlaugh committed Sep 14, 2021
1 parent efb2097 commit 0d67353
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions integrationtest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,17 @@ trap cleanup EXIT

go build -o dstask -mod=vendor cmd/dstask/main.go

# initialise git repo
# Create a random branch name, and configure dstask to use it
BRANCH="branch_${RANDOM}"
export DSTASK_BRANCH=$BRANCH

# initialise git repo
git -C $DSTASK_GIT_REPO init
git -C $DSTASK_GIT_REPO checkout -b $BRANCH
git -C $DSTASK_GIT_REPO config user.email "[email protected]"
git -C $DSTASK_GIT_REPO config user.name "Test user"
git -C $UPSTREAM_BARE_REPO init --bare


# general task state management and commands
./dstask help
./dstask add test task +foo project:bar
Expand Down

0 comments on commit 0d67353

Please sign in to comment.