forked from hashicorp/terraform-plugin-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
29 lines (20 loc) · 605 Bytes
/
Makefile
File metadata and controls
29 lines (20 loc) · 605 Bytes
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
GOFMT_FILES?=$$(find . -name '*.go')
default: test
test: generate
go test ./...
lint:
golangci-lint run
generate:
go generate ./...
fmt:
gofmt -s -w -e $(GOFMT_FILES)
# Run this if working on the website locally to run in watch mode.
website:
$(MAKE) -C website website
# Use this if you have run `website/build-local` to use the locally built image.
website/local:
$(MAKE) -C website website/local
# Run this to generate a new local Docker image.
website/build-local:
$(MAKE) -C website website/build-local
.PHONY: default fmt lint generate test website website/local website/build-local