1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

make: add 'rebuild' target (clean and reset sub-repos, then rebuild V) (#16357)

This commit is contained in:
Roy Ivy III
2022-11-08 08:51:29 -06:00
committed by GitHub
parent c7d0f0561e
commit a07f77ac52
2 changed files with 21 additions and 2 deletions

View File

@@ -85,7 +85,7 @@ endif
endif
endif
.PHONY: all clean check fresh_vc fresh_tcc fresh_legacy check_for_working_tcc
.PHONY: all clean rebuild check fresh_vc fresh_tcc fresh_legacy check_for_working_tcc
ifdef prod
VFLAGS+=-prod
@@ -119,6 +119,8 @@ clean:
rm -rf $(LEGACYLIBS)
rm -rf $(VC)
rebuild: clean all
ifndef local
latest_vc: $(VC)/.git/config
cd $(VC) && $(GITCLEANPULL)