mirror of
https://gitlab.com/Merith-TK/vanillia-modpack.git
synced 2024-11-22 22:29:30 +00:00
update build files
This commit is contained in:
parent
39268f66cf
commit
fa732bf91f
3 changed files with 20 additions and 16 deletions
|
@ -1,6 +1,6 @@
|
||||||
name = "Vanillia Minecraft"
|
name = "Vanillia"
|
||||||
author = "Merith.TK, Daedreus"
|
author = "Merith.TK, Daedreus"
|
||||||
version = "1.3.1"
|
version = "1.19.3-1.3.1"
|
||||||
pack-format = "packwiz:1.1.0"
|
pack-format = "packwiz:1.1.0"
|
||||||
|
|
||||||
[index]
|
[index]
|
||||||
|
|
32
Makefile
32
Makefile
|
@ -14,44 +14,48 @@ default:
|
||||||
@echo ""
|
@echo ""
|
||||||
@echo "All will make all packs it can"
|
@echo "All will make all packs it can"
|
||||||
@echo ""
|
@echo ""
|
||||||
|
|
||||||
|
PACKNAME := $(notdir $(CURDIR))
|
||||||
|
|
||||||
curseforge:
|
curseforge:
|
||||||
-mkdir .build
|
-mkdir .build
|
||||||
@echo "Making Curseforge pack"
|
@echo "Making Curseforge pack"
|
||||||
packwiz curseforge export --pack-file .minecraft/pack.toml -o .build/
|
packwiz curseforge export --pack-file .minecraft/pack.toml
|
||||||
7z d .build/vanillia-curseforge.zip overrides/packwiz-installer-bootstrap.jar overrides/pack.toml overrides/index.toml
|
mv ./*.zip ./.build/
|
||||||
|
|
||||||
modrinth:
|
modrinth:
|
||||||
-mkdir .build
|
-mkdir .build
|
||||||
@echo "Making Modrinth pack"
|
@echo "Making Modrinth pack"
|
||||||
packwiz modrinth export --pack-file .minecraft/pack.toml
|
packwiz modrinth export --pack-file .minecraft/pack.toml
|
||||||
7z d .build/vanillia-modrinth.zip overrides/packwiz-installer-bootstrap.jar overrides/pack.toml overrides/index.toml
|
mv ./*.mrpack ./.build/
|
||||||
|
|
||||||
multimc:
|
multimc:
|
||||||
-mkdir .build
|
-mkdir .build
|
||||||
@echo "Making MultiMC pack"
|
@echo "Making MultiMC pack"
|
||||||
7z d .build/vanillia-multimc.zip ./* -r
|
7z d .build/${PACKNAME}-multimc.zip ./* -r
|
||||||
7z d .build/vanillia-multimc.zip ./.minecraft -r
|
7z d .build/${PACKNAME}-multimc.zip ./.minecraft -r
|
||||||
7z a .build/vanillia-multimc.zip ./* -r
|
7z a .build/${PACKNAME}-multimc.zip ./* -r
|
||||||
7z a .build/vanillia-multimc.zip ./.minecraft -r
|
7z a .build/${PACKNAME}-multimc.zip ./.minecraft -r
|
||||||
7z d .build/vanillia-multimc.zip ./.minecraft/mods ./.minecraft/pack.toml ./.minecraft/index.toml -r
|
7z d .build/${PACKNAME}-multimc.zip ./.build ./.minecraft/mods ./.minecraft/pack.toml ./.minecraft/index.toml -r
|
||||||
|
|
||||||
technic:
|
technic:
|
||||||
-mkdir .build
|
-mkdir .build
|
||||||
@echo "Making Technic pack"
|
@echo "Making Technic pack"
|
||||||
-rm -rf .technic
|
-rm -rf .technic
|
||||||
-cp -r .minecraft .technic
|
-cp -r .minecraft .technic
|
||||||
cp vanillia_icon.png .technic/icon.png
|
cp ${PACKNAME}_icon.png .technic/icon.png
|
||||||
cd .technic && java -jar ../.minecraft/packwiz-installer-bootstrap.jar ../.minecraft/pack.toml && cd ..
|
cd .technic && java -jar ../.minecraft/packwiz-installer-bootstrap.jar ../.minecraft/pack.toml && cd ..
|
||||||
-rm -rf .technic/packwiz* .technic/index.toml .technic/pack.toml .technic/mods/*.toml
|
-rm -rf .technic/packwiz* .technic/index.toml .technic/pack.toml .technic/mods/*.toml
|
||||||
7z d .build/vanillia-technic.zip ./* ./.* -r
|
7z d .build/${PACKNAME}-technic.zip ./* ./.* -r
|
||||||
7z a .build/vanillia-technic.zip ./.technic/* -r
|
7z a .build/${PACKNAME}-technic.zip ./.technic/* -r
|
||||||
|
|
||||||
clean:
|
preClean:
|
||||||
|
-rm -rf .build
|
||||||
|
postClean:
|
||||||
-rm -rf .technic
|
-rm -rf .technic
|
||||||
-git gc --aggressive --prune
|
-git gc --aggressive --prune
|
||||||
|
|
||||||
all: curseforge modrinth multimc technic clean
|
all: preClean curseforge modrinth multimc technic postClean
|
||||||
|
|
||||||
update-packwiz:
|
update-packwiz:
|
||||||
go install github.com/packwiz/packwiz@latest
|
go install github.com/packwiz/packwiz@latest
|
||||||
|
|
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 4.8 KiB |
Loading…
Reference in a new issue