spring-cloud-config/Makefile

23 lines
380 B
Makefile

.PHONY: build test
GRADLE_BIN=./gradlew
build:
# build without executing test
$(GRADLE_BIN) build -x test
test:
$(GRADLE_BIN) test
run-client:
$(GRADLE_BIN) client:bootRun
run-server:
$(GRADLE_BIN) server:bootRun
curl-server:
curl -s -u "user:b3956c50-2e1e-4426-aaca-6b09f7cc4808" localhost:8090/client/development |jq
curl-client:
curl -s localhost:8080/v1/message