2022-02-08 08:55:38 +00:00
|
|
|
default: all
|
|
|
|
all: weblug
|
|
|
|
|
2023-05-28 09:31:02 +00:00
|
|
|
.PHONY: test
|
|
|
|
|
2023-04-22 08:23:03 +00:00
|
|
|
weblug: cmd/weblug/*.go
|
2022-02-08 14:00:34 +00:00
|
|
|
go build -o weblug $^
|
|
|
|
|
2023-04-22 08:23:03 +00:00
|
|
|
static: cmd/weblug/*.go
|
2022-02-08 14:00:34 +00:00
|
|
|
CGO_ENABLED=0 go build -ldflags="-w -s" -o weblug $^
|
2022-12-29 15:03:11 +00:00
|
|
|
|
|
|
|
test: weblug
|
|
|
|
sudo bash -c "cd test && ./blackbox.sh"
|