summaryrefslogtreecommitdiff
path: root/src/hub/test-bolter
blob: dc2e98d1c36d505c3006121f2a0e2e83a68a088b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

TEST_D="./test"

BIN="$(go env GOPATH)/bin/bolter"
if [ ! -x "$BIN" ]; then
  echo "bolter not found. Please run:"
  echo ""
  echo "  go get -u github.com/hasit/bolter"
  echo ""
  exit 1
fi

exec $BIN --file "$TEST_D/db.bolt" $@