File tree 1 file changed +5
-8
lines changed
1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -22,15 +22,12 @@ deps: $(DEPS_DIR)/rabbitmq_codegen
22
22
dist : clean
23
23
$(MVN ) $(MVN_FLAGS ) -DskipTests=true -Dmaven.javadoc.failOnError=false package javadoc:javadoc
24
24
25
- $(DEPS_DIR ) /rabbit :
26
- git clone https://github.com/rabbitmq/rabbitmq-server.git $@
27
- $(MAKE ) -C $@ fetch-deps DEPS_DIR=" $( abspath $( DEPS_DIR) ) "
28
-
29
- $(DEPS_DIR ) /rabbitmq_ct_helpers :
30
- git clone https://github.com/rabbitmq/rabbitmq-ct-helpers.git " $@ "
31
-
32
25
$(DEPS_DIR ) /rabbitmq_codegen :
33
- git clone https://github.com/rabbitmq/rabbitmq-codegen.git " $@ "
26
+ git clone -n --depth=1 --filter=tree:0 https://github.com/rabbitmq/rabbitmq-server.git $(DEPS_DIR ) /rabbitmq-server
27
+ git -C $(DEPS_DIR ) /rabbitmq-server sparse-checkout set --no-cone deps/rabbitmq_codegen
28
+ git -C $(DEPS_DIR ) /rabbitmq-server checkout
29
+ cp -r $(DEPS_DIR ) /rabbitmq-server/deps/rabbitmq_codegen " $@ "
30
+ rm -rf $(DEPS_DIR ) /rabbitmq-server
34
31
35
32
tests : deps
36
33
$(MVN ) $(MVN_FLAGS ) verify
You can’t perform that action at this time.
0 commit comments