#!/bin/sh -e
cd /tmp
git clone https://github.com/grafana/loki.git || true
cd loki
make logcli >&2
echo "$PWD/cmd/logcli/logcli"