Skip to content

Commit

Permalink
Make updategitignores and updatedockerignores public
Browse files Browse the repository at this point in the history
  • Loading branch information
bufdev committed Nov 18, 2019
1 parent 7af4287 commit f00cb72
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions make/go/base.mk
Original file line number Diff line number Diff line change
Expand Up @@ -143,13 +143,13 @@ copytomakego:
.PHONY: initmakego
initmakego::

.PHONY: __updategitignores
__updategitignores:
.PHONY: updategitignores
updategitignores:
@rm -f .gitignore
@echo '# Autogenerated by makego. DO NOT EDIT.' > .gitignore
@$(foreach file_ignore,$(sort $(FILE_IGNORES)),echo /$(file_ignore) >> .gitignore || exit 1; )

pregenerate:: __updategitignores
pregenerate:: updategitignores

.PHONY: __checknodiffgeneratedinternal
__checknodiffgeneratedinternal:
Expand Down
6 changes: 3 additions & 3 deletions make/go/docker.mk
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ endef

$(foreach dockerbin,$(sort $(DOCKER_BINS)),$(eval $(call dockerbinfunc,$(dockerbin))))

.PHONY: __updatedockerignores
__updatedockerignores:
.PHONY: updatedockerignores
updatedockerignores:
@rm -f .dockerignore
@echo '# Autogenerated by makego. DO NOT EDIT.' > .dockerignore
@$(foreach file_ignore,$(sort $(FILE_IGNORES)),echo $(file_ignore) >> .dockerignore || exit 1;)

pregenerate:: __updatedockerignores
pregenerate:: updatedockerignores

0 comments on commit f00cb72

Please sign in to comment.