Block hardness adaptions (issue #32). Lang files updated. Build utils enhanced to prepare code release for 1.13/1.14.

This commit is contained in:
stfwi 2019-06-22 22:53:51 +02:00
parent 8af8544e30
commit 0a310c4261
19 changed files with 1221 additions and 618 deletions

View file

@ -6,24 +6,26 @@
# Note for reviewers/clones: This file is a auxiliary script for my setup.
# It's not needed to build the mod.
#
.PHONY: default init clean clean-all dist sync-main-repo sanatize update-json
.PHONY: init-1.12 clean-1.12 clean-all-1.12 dist-1.12 sanatize-1.12
.PHONY: init-1.13 clean-1.13 clean-all-1.13 dist-1.13 sanatize-1.13
.PHONY: default init clean clean-all mrproper sanatize dist update-json sync-main-repo compare migrate-from-112
default: ; @echo "(You are not in a MC specific version directory)"
clean: clean-1.12 clean-1.13
clean-all: clean-all-1.13
init: init-1.12 init-1.13
default: ; @echo "First change to specific version directory."
init: default
dist: default
clean-1.12: ; -@cd 1.12; make -s clean
clean-1.13: ; -@cd 1.13; make -s clean
clean-all-1.12: ; -@cd 1.12; make -s clean-all
clean-all-1.13: ; -@cd 1.13; make -s clean-all
init-1.12: ; -@cd 1.12; make -s init
init-1.13: ; -@cd 1.13; make -s init
dist-1.12: ; @cd 1.12; make -s dist
dist-1.13: ; @cd 1.13; make -s dist
dist: ; @echo "First change to specific version directory."
clean:
-@cd 1.12; make -s clean
-@cd 1.13; make -s clean
-@cd 1.14; make -s clean
clean-all:
-@cd 1.12; make -s clean-all
-@cd 1.13; make -s clean-all
-@cd 1.14; make -s clean-all
mrproper:
-@cd 1.12; make -s mrproper
-@cd 1.13; make -s mrproper
-@cd 1.14; make -s mrproper
update-json:
@echo "[main] Update update.json ..."
@ -31,9 +33,18 @@ update-json:
sanatize:
@cd 1.12; make -s sanatize
@cd 1.12; make -s port-languages
@cd 1.13; make -s sanatize
@cd 1.14; make -s sanatize
@make -s update-json
compare:
@djs tasks.js compare-blockstates -v
@djs tasks.js compare-textures -v
migrate-from-112:
@djs tasks.js migrate-textures -v
# For reviewers: I am using a local repository for experimental changes,
# this target copies the local working tree to the location of the
# repository that you cloned.