Skip to content

Commit

Permalink
fix targets
Browse files Browse the repository at this point in the history
  • Loading branch information
drio committed Mar 3, 2023
1 parent 42960ba commit 0b90608
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
HOST=$(shell hostname)
MOD_NAME=caddy-saml-sso
PRJ_NAME=$(MOD_NAME)
BINS=caddy.arm64.osx caddy.amd64.linux

ifeq ($(HOST), air)
include .env.dev
Expand All @@ -14,7 +15,7 @@ test-env:
@echo "saml_root_url=$$SAML_ROOT_URL"

.PHONY: build-all
build-all: caddy.arm64.osx caddy.amd64.linux
build-all: $(BINS)

caddy.arm64.osx: xcaddy
xcaddy build --with github.com/drio/$(MOD_NAME) --output $@
Expand All @@ -34,7 +35,7 @@ run: caddy Caddyfile
./caddy run ./Caddyfile

clean:
rm -f caddy caddy.a*
rm -f caddy $(BINS)

.PHONY: test single-run-test lint
test:
Expand Down
2 changes: 1 addition & 1 deletion release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ git tag "v$new_version"
git push origin
git push origin v$new_version

make clean release
make clean build-all

gh release create v0.0.2 --notes "v$version" ./caddy.*

0 comments on commit 0b90608

Please sign in to comment.