From 263ca33f064d42cae65096354774240fe4e3d0ce Mon Sep 17 00:00:00 2001 From: moony Date: Mon, 20 Sep 2021 19:45:52 -0700 Subject: [PATCH] Removed typo duplicate file. --- build/' | 39 --------------------------------------- 1 file changed, 39 deletions(-) delete mode 100644 build/' diff --git a/build/' b/build/' deleted file mode 100644 index 356b8ce..0000000 --- a/build/' +++ /dev/null @@ -1,39 +0,0 @@ -#!/bin/sh - -set -o errexit -set -o nounset -set -o pipefail - -export CGO_ENABLED=0 -export GO111MODULE=on -export GOFLAGS="-mod=vendor" - -TARGETS=$(for d in "$@"; do echo ./$d/...; done) - -echo "Running tests:" -go test -installsuffix "static" ${TARGETS} -echo - -echo -n "Checking gofmt: " -ERRS=$(find "$@" -type f -name \*.go | xargs gofmt -l 2>&1 || true) -if [ -n "${ERRS}" ]; then - echo "FAIL - the following files need to be gofmt'ed:" - for e in ${ERRS}; do - echo " $e" - done - echo - exit 1 -fi -echo "PASS" -echo - -echo -n "Checking go vet: " -ERRS=$(go vet ${TARGETS} 2>&1 || true) -if [ -n "${ERRS}" ]; then - echo "FAIL" - echo "${ERRS}" - echo - exit 1 -fi -echo "PASS" -echo