DATAREDIS-920 - Move maven command outside of Makefile.
This commit is contained in:
5
Makefile
5
Makefile
@@ -147,8 +147,9 @@ stop-%: work/redis/bin/redis-cli
|
||||
|
||||
stop: redis-stop sentinel-stop cluster-stop
|
||||
|
||||
test:
|
||||
test_start:
|
||||
$(MAKE) start
|
||||
sleep 2
|
||||
./mvnw clean test -U -DrunLongTests=true -P$(SPRING_PROFILE) || (echo "maven failed $$?"; exit 1)
|
||||
|
||||
test_stop:
|
||||
$(MAKE) stop
|
||||
|
||||
@@ -10,5 +10,10 @@ cd spring-data-redis-github
|
||||
|
||||
ln -sf /work
|
||||
|
||||
# Maven run from inside Makefile to interact with Redis server.
|
||||
make test SPRING_PROFILE=spring5-next
|
||||
# Launch Redis in proper configuration
|
||||
make test_start
|
||||
|
||||
./mvnw -U clean test -DrunLongTests=true -Pspring5-next
|
||||
|
||||
# Shutdown Redis
|
||||
make test_stop
|
||||
|
||||
Reference in New Issue
Block a user