chore(ci): bootstrap CI + hooks
Squash-merge bootstrap-cicd into integration
This commit is contained in:
33
Makefile
Normal file
33
Makefile
Normal file
@@ -0,0 +1,33 @@
|
||||
SHELL := /usr/bin/env bash
|
||||
|
||||
.PHONY: all check quick format lint build test security ci-image hooks-setup
|
||||
|
||||
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 ci.Dockerfile -t local/ci:latest .
|
||||
|
||||
hooks-setup:
|
||||
./scripts/setup-hooks
|
||||
|
Reference in New Issue
Block a user