forked from ortuman/jackal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
39 lines (29 loc) · 777 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
.PHONY: check fmt vet lint generate test build install installctl dockerimage
generate:
@echo "Generating mock files..."
@bash scripts/generate.sh
fmt:
@echo "Checking Go file formatting..."
@bash scripts/checks/fmt.sh
vet:
@echo "Checking for common Go mistakes..."
@bash scripts/checks/vet.sh
lint:
@echo "Checking for style errors..."
@bash scripts/checks/lint.sh
check: generate fmt vet lint
test: generate
@echo "Running tests..."
@bash scripts/test.sh
build:
@echo "Compiling jackal binary..."
@bash scripts/compile.sh
install:
@echo "Installing jackal binary..."
@bash scripts/install.sh
installctl:
@echo "Installing jackalctl binary..."
@bash scripts/installctl.sh
dockerimage:
@echo "Building docker image..."
@bash scripts/dockerimage.sh