Skip to content

Conversation

@acogoluegnes
Copy link
Contributor

[#157080754]

Fixes #359

@acogoluegnes acogoluegnes requested a review from dumbbell April 25, 2018 09:40

$(DEPS_DIR)/rabbitmq-ct-helpers:
rm -rf $(DEPS_DIR)/rabbitmq_ct_helpers
git clone https://github.com/rabbitmq/rabbitmq-ct-helpers.git $(DEPS_DIR)/rabbitmq_ct_helpers
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here you create the directory $(DEPS_DIR)/rabbitmq_ct_helpers (with underscores) but the target is $(DEPS_DIR)/rabbitmq-ct-helpers (with dashes). Is it expected?

The way it is, the recipe will always be executed because the target is never created.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right! Fixed. Thanks!

@acogoluegnes acogoluegnes merged commit c76669d into master Apr 25, 2018

$(DEPS_DIR)/rabbitmq_ct_helpers:
git clone https://github.com/rabbitmq/rabbitmq-ct-helpers.git $(DEPS_DIR)/rabbitmq_ct_helpers

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can use the $@ Make variable to reduce repetition:

git clone https://github.com/rabbitmq/rabbitmq-ct-helpers.git "$@"

(plus the quotes to protect against spaces)

@acogoluegnes acogoluegnes deleted the rabbitmq-java-client-359-make-run-tests branch March 21, 2019 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants