Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix missing deps make target #126

Merged
merged 1 commit into from
Nov 21, 2019

Conversation

HighwayofLife
Copy link
Contributor

Prerequisites

Put an x into the box(es) that apply:

  • This pull request fixes a bug.
  • This pull request adds a feature.
  • This pull request enhances existing functionality.
  • This pull request introduces breaking change.

For more information, see the Contributing Guide.

Description

Describe what this pull request achieves. Ensure you have read the Contributing Guidelines document before submitting.

The deps target was removed from the makefile, but is still used by external scripts. Re-added as a link to the vendor target to maintain backward compatibility.

Issues Resolved

List any existing issues this pull request resolves.

Fixes #125

Checklist

Put an x into all boxes that apply:

Tests

  • I have added tests to cover my changes.
  • All tests pass when I run make test.

Documentation

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

Code Style

  • My code follows the code style of this project.

* Docker image calls `make deps`, so the target was re-added to maintain backward compatibility.
* Fixes terraform-docs#125
* Sorted vendor module list
Copy link
Member

@khos2ow khos2ow left a comment

Choose a reason for hiding this comment

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

Thanks @HighwayofLife, I have a small comment.

@@ -55,6 +55,9 @@ clean: ## Clean workspace
@ $(MAKE) --no-print-directory log-$@
rm -rf ./$(BUILD_DIR)

.PHONY: deps
Copy link
Member

Choose a reason for hiding this comment

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

Nice catch, but can you rename the deps in all target to vendor instead of creating new one?

Copy link
Member

Choose a reason for hiding this comment

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

You mentioned this target is being used in an external scripts and Docker image. Can you link any of those for reference here?

@khos2ow khos2ow merged commit 328e96b into terraform-docs:master Nov 21, 2019
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.

Latest Master fails to build (deps not found)
2 participants