invoke go mod clean before rebuilds

renovate/github.com-imdario-mergo-1.x
mudler 2 years ago
parent 05aed255db
commit c4495ad8f2
  1. 2
      Makefile

@ -257,6 +257,7 @@ prepare-sources: get-sources replace
## GENERIC ## GENERIC
rebuild: ## Rebuilds the project rebuild: ## Rebuilds the project
$(GOCMD) clean -cache
$(MAKE) -C go-llama clean $(MAKE) -C go-llama clean
$(MAKE) -C gpt4all/gpt4all-bindings/golang/ clean $(MAKE) -C gpt4all/gpt4all-bindings/golang/ clean
$(MAKE) -C go-ggml-transformers clean $(MAKE) -C go-ggml-transformers clean
@ -272,6 +273,7 @@ prepare: prepare-sources backend-assets/gpt4all $(OPTIONAL_TARGETS) go-llama/lib
touch $@ touch $@
clean: ## Remove build related file clean: ## Remove build related file
$(GOCMD) clean -cache
rm -fr ./go-llama rm -fr ./go-llama
rm -rf ./gpt4all rm -rf ./gpt4all
rm -rf ./go-gpt2 rm -rf ./go-gpt2

Loading…
Cancel
Save