mirror of
https://github.com/mudler/LocalAI.git
synced 2024-12-20 05:07:54 +00:00
invoke go mod clean before rebuilds
This commit is contained in:
parent
05aed255db
commit
c4495ad8f2
2
Makefile
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…
Reference in New Issue
Block a user