40 lines
540 B
Makefile
40 lines
540 B
Makefile
SHELL := /usr/bin/env bash
|
|
|
|
.PHONY: all check quick format lint build test security ci-image hooks-setup prompts prompts-check
|
|
|
|
all: check
|
|
|
|
check:
|
|
./scripts/ci all
|
|
|
|
quick:
|
|
./scripts/ci format && ./scripts/ci lint
|
|
|
|
format:
|
|
./scripts/ci format
|
|
|
|
lint:
|
|
./scripts/ci lint
|
|
|
|
build:
|
|
./scripts/ci build
|
|
|
|
test:
|
|
./scripts/ci test
|
|
|
|
security:
|
|
./scripts/ci security
|
|
|
|
ci-image:
|
|
docker build -f docker/ci.Dockerfile -t local/ci:latest .
|
|
|
|
hooks-setup:
|
|
./scripts/setup-hooks
|
|
|
|
prompts:
|
|
./scripts/prompts all
|
|
|
|
prompts-check:
|
|
./scripts/prompts lint
|
|
|