Skip to content

Commit 9eadebd

Browse files
committed
Update build from source section to reflect Makefile.
See spring-projects#2766
1 parent 1082d31 commit 9eadebd

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

README.adoc

+14-2
Original file line numberDiff line numberDiff line change
@@ -114,12 +114,24 @@ If you want to raise an issue, please follow the recommendations below:
114114
* If the issue does not already exist, https://github.com/spring-projects/spring-data-redis/issues/new[create a new issue].
115115
* Please provide as much information as possible with the issue report, we like to know the version of Spring Data that you are using, the JVM version, Stacktrace, etc.
116116
* If you need to paste code, or include a stack trace use https://guides.github.com/features/mastering-markdown/[Markdown] code fences +++```+++.
117-
* If possible try to create a test-case or project that replicates the issue. Attach a link to your code or a compressed file containing your code.
117+
* If possible try to create a test-case or project that replicates the issue.
118+
Attach a link to your code or a compressed file containing your code.
118119

119120
== Building from Source
120121

121122
You don’t need to build from source to use Spring Data (binaries in https://repo.spring.io[repo.spring.io]), but if you want to try out the latest and greatest, Spring Data can be easily built with the https://github.com/takari/maven-wrapper[maven wrapper].
122-
You also need JDK 17 or above.
123+
You also need JDK 17 or above and `make`.
124+
The local build environment is managed within a `Makefile` to download, build and spin up Redis in various configurations (Standalone, Sentinel, Cluster, etc.)
125+
126+
[source,bash]
127+
----
128+
$ make test
129+
----
130+
131+
The preceding command runs a full build.
132+
You can use `make start`, `make stop`, and `make clean` commands to control the environment yourself.
133+
This is useful if you want to avoid constant server restarts.
134+
Once all Redis instances have been started, you can either run tests in your IDE or the full Maven build:
123135

124136
[source,bash]
125137
----

0 commit comments

Comments
 (0)