From afda43ba1d6fbe7e7d854c16ca4e717d6bfff311 Mon Sep 17 00:00:00 2001 From: Kristoffer Ahl Date: Fri, 26 Feb 2021 12:07:05 +0100 Subject: [PATCH] - Better usage of build and test scripts. --- .github/workflows/ci.yml | 2 +- scripts/build | 2 +- scripts/test | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6330b61..857c3de 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,4 +22,4 @@ jobs: run: ./scripts/build - name: Test - run: ./scripts/test + run: ./scripts/test -v diff --git a/scripts/build b/scripts/build index 7bf10c0..be01490 100755 --- a/scripts/build +++ b/scripts/build @@ -2,4 +2,4 @@ set -euo pipefail scripts/make-schema -go build -v ./... +go build -v -o ./centry ./cmd/centry/ diff --git a/scripts/test b/scripts/test index 4475af8..ce163fa 100755 --- a/scripts/test +++ b/scripts/test @@ -2,4 +2,4 @@ set -euo pipefail scripts/make-schema -go test -v ./... +go test ./... "$@"