forked from ory/dockertest
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
29 lines (21 loc) · 819 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
format: .bin/ory node_modules # formats the source code
.bin/ory dev headers copyright --type=open-source
gofmt -l -s -w .
npm exec -- prettier --write .
help:
cat Makefile | grep '^[^ ]*:' | grep -v '^\.bin/' | grep -v '.SILENT:' | grep -v '^node_modules:' | grep -v help | sed 's/:.*#/#/' | column -s "#" -t
licenses: .bin/licenses node_modules # checks open-source licenses
.bin/licenses
.bin/licenses: Makefile
curl https://raw.githubusercontent.com/ory/ci/master/licenses/install | sh
.bin/ory: Makefile
curl https://raw.githubusercontent.com/ory/meta/master/install.sh | bash -s -- -b .bin ory v0.1.48
touch .bin/ory
node_modules: package-lock.json
npm install
touch node_modules
test:
go mod tidy
go vet -x .
go test -covermode=atomic -coverprofile="coverage.out" .
.DEFAULT_GOAL := help