Skip to content
This repository has been archived by the owner on Feb 9, 2022. It is now read-only.

Commit

Permalink
fix: place the initialisation of the submodules in the right Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
dbarranco committed Apr 22, 2019
1 parent b1bc73b commit 0ee6e48
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,4 @@ HAS_AWLESS := $(shell command -v awless;)
awless:
ifndef HAS_AWLESS
$(GO) get github.com/wallix/awless
endif
endif
6 changes: 1 addition & 5 deletions kubeprod/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,4 @@ endif
clean:
rm -rf $(BINDIR) ./_dist

init-submodules:
git submodule init; \
git submodule update --init --remote --recursive; \

.PHONY: init-submodules all release dist checksum test fmt vet archiver clean
.PHONY: all release dist checksum test fmt vet archiver clean
6 changes: 5 additions & 1 deletion manifests/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,12 @@ JFILES := \
validate: $(UNITTESTS:%.jsonnet=%.jsonnet-validate)
validate: $(PLATFORMS:%.jsonnet=%.jsonnet-validate)

init-submodules:
git submodule init; \
git submodule update --init --remote --recursive;

%.jsonnet-validate: %.jsonnet $(JFILES)
$(KUBECFG) validate --ignore-unknown $<

.PHONY: all validate
.PHONY: all init-submodules validate
.PHONY: %.jsonnet-validate

0 comments on commit 0ee6e48

Please sign in to comment.