Files
webhooker/Makefile

51 lines
613 B
Makefile

.PHONY: bootstrap setup test lint fmt fmt-check check build run dev deps docker clean hooks css
# Default target
.DEFAULT_GOAL := check
bootstrap:
@script/bootstrap
setup:
@script/setup
test:
@script/test
lint:
@script/lint
fmt:
@script/fmt
fmt-check:
@script/fmt-check
check:
@script/check
build:
go build -o bin/webhooker ./cmd/webhooker
run: build
./bin/webhooker
dev:
go run ./cmd/webhooker
deps:
go mod download
go mod tidy
docker:
@script/docker
clean:
rm -rf bin/
hooks:
@script/install-precommit
css:
tailwindcss -i static/css/input.css -o static/css/tailwind.css --minify