1#!/bin/bash 2 3ROOT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd )" 4 5pushd $ROOT_DIR 6go run ./cmd/regres/main.go $@ 2>&1 | tee regres-log.txt 7popd 8