old-ones/Makefile

33 lines
989 B
Makefile
Raw Normal View History

2021-08-29 21:46:40 +01:00
default:
@echo "No Default make command configured"
@echo "Please use either"
@echo " - make multimc"
@echo " - make technic"
@echo " - make all"
@echo ""
@echo "MultiMC will make a pack with the updater.exe built in"
@echo " along with the git history"
@echo ""
@echo "Techic will make a pack that can be used for technic"
@echo ""
@echo "All will make both technic and MultiMC packs"
2022-02-25 19:07:26 +00:00
@echo ""
2021-08-29 21:46:40 +01:00
multimc:
2022-02-25 19:07:26 +00:00
@echo "Making MultiMC pack"
2021-08-29 21:46:40 +01:00
7z d ../modpack.zip ./* -r
7z d ../modpack.zip ./.* -r
7z a ../modpack.zip ./* -r
7z a ../modpack.zip ./.minecraft -r
technic:
2022-02-25 19:07:26 +00:00
@echo "Making Technic pack"
-rm -rf .technic
-cp -r .minecraft .technic
mv .technic/modpack.icon.png .technic/icon.png
cd .technic && java -jar packwiz-installer-bootstrap.jar https://gitlab.com/Merith-TK/modpack-template/-/raw/packwiz/packwiz-data/pack.toml && cd ..
-rm -rf .technic/packwiz*
2021-08-29 21:46:40 +01:00
7z d ../modpack-technic.zip ./* -r
2022-02-25 19:07:26 +00:00
7z a ../modpack-technic.zip ./.technic/* -r
2021-08-29 21:46:40 +01:00
all: multimc technic