update Makefile

This commit is contained in:
nervuri 2023-03-19 15:59:04 +00:00
parent 8b109db99d
commit 9a61e0eae9
1 changed files with 15 additions and 3 deletions

View File

@ -1,6 +1,18 @@
# SPDX-FileCopyrightText: 2022-2023 nervuri <https://nervuri.net/contact>
#
# SPDX-License-Identifier: BSD-3-Clause
#
dev:
mkdir -p build && go build -o build/client-hello-mirror
dev: check
mkdir -p build
go build -o build/client-hello-mirror
check:
#go fmt
reuse lint
#golangci-lint run
go vet
#go test
run:
killall -9 client-hello-mirror || :
ls *.go */*.go | entr -nsr "make dev && build/client-hello-mirror -c build/cert.pem -k build/privkey.pem :4444"