Skip to content

Commit

Permalink
fix: mocking in makefile all target
Browse files Browse the repository at this point in the history
  • Loading branch information
isindir committed Mar 13, 2022
1 parent 1c5bd5f commit d343eb5
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,12 @@ mockery: ## Regenerate mock files
(cd $$i; rm -fr mocks; mockery --all) ;\
done

.PHONY: clean-mockery
clean-mockery: ## Clean mock files
for i in exec gitlab; do \
(cd $$i; rm -fr mocks) ;\
done

.PHONY: mod
mod: mockery ## Run go mod tidy/vendor
$(GO) mod tidy
Expand All @@ -68,9 +74,6 @@ clean: ## Removes build artifacts from source code
@echo "Cleaning"
@rm -fr bin
@rm -fr vendor
for i in exec gitlab; do \
(cd $$i; rm -fr mocks) ;\
done
@echo

.PHONY: update-here
Expand Down

0 comments on commit d343eb5

Please sign in to comment.