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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user