weblug/Makefile
Felix Niederwanger 46418bcf3a
Add env sanitation
Sanitize the environment variables when running webhooks and add ability
to add custom environment variables per webhook.
2023-05-28 11:44:42 +02:00

14 lines
221 B
Makefile

default: all
all: weblug
.PHONY: test
weblug: cmd/weblug/*.go
go build -o weblug $^
static: cmd/weblug/*.go
CGO_ENABLED=0 go build -ldflags="-w -s" -o weblug $^
test: weblug
sudo bash -c "cd test && ./blackbox.sh"