lockbox

password manager
Log | Files | Refs | README | LICENSE

commit 558ed5fa7dbee3dd3da68301a6cd39fb377a303b
parent 32843dcd51f8150aeaf5fb678ee1ce563314c716
Author: Sean Enck <sean@ttypty.com>
Date:   Sun, 19 Feb 2023 06:53:15 -0500

Revert "wrapper make target"

This reverts commit 8cb0b1e2f38880e2493273854fbdfe39518458ee.

Diffstat:
M.github/workflows/build.yml | 6+++---
MMakefile | 5-----
Ascripts/ci/build.sh | 10++++++++++
3 files changed, 13 insertions(+), 8 deletions(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml @@ -12,7 +12,7 @@ jobs: - name: "deps" run: apk add go make git - name: "build" - run: make ci + run: ./scripts/ci/build.sh ubuntu-build: runs-on: ubuntu-latest steps: @@ -20,7 +20,7 @@ jobs: - name: "deps" run: sudo apt-get install -y make git golang - name: "build" - run: make ci + run: ./scripts/ci/build.sh macos-build: runs-on: macos-latest steps: @@ -30,4 +30,4 @@ jobs: - name: "deps" run: brew install go - name: "build" - run: make ci + run: ./scripts/ci/build.sh diff --git a/Makefile b/Makefile @@ -27,8 +27,3 @@ $(RUNS): clean: rm -rf $(BUILD) - -ci: - rm -rf .git - make build - make check diff --git a/scripts/ci/build.sh b/scripts/ci/build.sh @@ -0,0 +1,10 @@ +#!/bin/sh +rm -rf ".git" +if ! make build; then + echo "build failed" + exit 1 +fi +if ! make check; then + echo "check failed" + exit 1 +fi