-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
34 lines (29 loc) · 875 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
define JSON_TODO
curl -X 'POST' \
'http://localhost:8080/todo' \
-H 'accept: */*' \
-H 'Content-Type: application/json' \
-d '{
"description": "string",
"done": true,
"dueDate": {
"due": "2021-05-07",
"start": "2021-05-07"
},
"title": "string"
}'
endef
export JSON_TODO
# Tools
rest-create:
@echo $$JSON_TODO | bash
rest-list:
@curl -X 'GET' 'http://localhost:8090/todo' -H 'accept: */*' | jq .
testcontainers-env:
launchctl setenv TESTCONTAINERS_CHECKS_DISABLE true
launchctl setenv TESTCONTAINERS_RYUK_DISABLED true
launchctl setenv TESTCONTAINERS_DOCKER_SOCKET_OVERRIDE unix://${HOME}/.local/share/containers/podman/machine/podman-machine-default/podman.sock
docker-env:
launchctl setenv DOCKER_HOST unix://${HOME}/.local/share/containers/podman/machine/podman-machine-default/podman.sock
id-service:
mvn -f id-service/pom.xml package