mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
make: remove /tmp/vc and /var/tmp/tcc when V_ALWAYS_CLEAN_TMP is set
This commit is contained in:
parent
781c20a6ae
commit
fe05f310fb
9
Makefile
9
Makefile
@ -56,13 +56,18 @@ endif
|
||||
ifndef ANDROID
|
||||
$(MAKE) modules
|
||||
endif
|
||||
endif
|
||||
ifdef V_ALWAYS_CLEAN_TMP
|
||||
$(MAKE) clean_tmp
|
||||
endif
|
||||
@echo "V has been successfully built"
|
||||
|
||||
clean:
|
||||
clean: clean_tmp
|
||||
git clean -xf
|
||||
|
||||
clean_tmp:
|
||||
rm -rf $(TMPTCC)
|
||||
rm -rf $(TMPVC)
|
||||
git clean -xf
|
||||
|
||||
latest_vc: $(TMPVC)/.git/config
|
||||
cd $(TMPVC) && $(GITCLEANPULL)
|
||||
|
Loading…
Reference in New Issue
Block a user