lockbox

password manager
Log | Files | Refs | README | LICENSE

commit 32843dcd51f8150aeaf5fb678ee1ce563314c716
parent 41e4fbd483f342f113f9b7d402ba955bb93411fd
Author: Sean Enck <sean@ttypty.com>
Date:   Sun, 19 Feb 2023 06:51:40 -0500

wrapper make target

Diffstat:
M.github/workflows/build.yml | 6+++---
MMakefile | 5+++++
Dscripts/ci/build.sh | 10----------
3 files changed, 8 insertions(+), 13 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: ./scripts/ci/build.sh + run: make ci 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: ./scripts/ci/build.sh + run: make ci macos-build: runs-on: macos-latest steps: @@ -30,4 +30,4 @@ jobs: - name: "deps" run: brew install go - name: "build" - run: ./scripts/ci/build.sh + run: make ci diff --git a/Makefile b/Makefile @@ -27,3 +27,8 @@ $(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 @@ -1,10 +0,0 @@ -#!/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