vanillia-modpack/Makefile

37 lines
1,007 B
Makefile
Raw Normal View History

2021-11-30 20:37:34 +00:00
default:
@echo "No Default make command configured"
@echo "Please use either"
@echo " - make multimc"
@echo " - makes a multimc compatible pack"
@echo " - make technic"
@echo " - makes a technic compatible pack"
@echo " - make all"
@echo " - makes both of the previous packs"
@echo ""
multimc: clean
2021-11-30 22:26:57 +00:00
7z d ../vanillia-multimc-1.18.zip ./* -r
7z d ../vanillia-multimc-1.18.zip ./.* -r
7z a ../vanillia-multimc-1.18.zip ./* -r
7z a ../vanillia-multimc-1.18.zip ./.git -r
7z a ../vanillia-multimc-1.18.zip ./.minecraft -r
2021-11-30 20:37:34 +00:00
technic: clean
cp vanillia.icon.png icon.png
2021-11-30 22:26:57 +00:00
7z d ../vanillia-technic-1.18.zip ./* -r
7z a ../vanillia-technic-1.18.zip ./.minecraft/* -r
7z a ../vanillia-technic-1.18.zip ./icon.png
2021-11-30 20:37:34 +00:00
rm icon.png
clean:
-rm -rf .multimc
-rm -rf .minecraft/icon.png
-rm -rf builds
-rm -rf update-pack.data/temp
-rm -rf update-pack.data/bin
-rm -rf update-pack.data/busybox.exe
2022-01-17 23:14:14 +00:00
-rm -rf ../vanillia-*.1.18.zip
2021-11-30 22:26:57 +00:00
-git gc --aggressive --prune
2021-11-30 20:37:34 +00:00
all: multimc technic