fix some build configs

This commit is contained in:
Merith 2023-02-23 06:30:29 +00:00
parent 7834e33c68
commit 158b1fe27f
3 changed files with 7 additions and 6 deletions

2
.gitignore vendored
View file

@ -16,7 +16,9 @@
## Ignore Modpack Updater Script loose files
.technic
.build
*.zip
*.mrpack
!.minecraft/.packwizignore
## Add your modded folders/files to ignore here

View file

@ -1,6 +1,6 @@
name = "Vanillia Minecraft"
author = "Daedreus"
version = "1.2.1"
author = "Merith.TK, Daedreus"
version = "1.3.0"
pack-format = "packwiz:1.1.0"
[index]

View file

@ -18,13 +18,13 @@ default:
curseforge:
-mkdir .build
@echo "Making Curseforge pack"
packwiz curseforge export --pack-file .minecraft/pack.toml -o .build/vanillia-curseforge.zip
packwiz curseforge export --pack-file .minecraft/pack.toml -o .build/
7z d .build/vanillia-curseforge.zip overrides/packwiz-installer-bootstrap.jar overrides/pack.toml overrides/index.toml
modrinth:
-mkdir .build
@echo "Making Modrinth pack"
packwiz modrinth export --pack-file .minecraft/pack.toml -o .build/vanillia-modrinth.zip
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
multimc:
@ -42,14 +42,13 @@ technic:
-rm -rf .technic
-cp -r .minecraft .technic
cp vanillia_icon.png .technic/icon.png
cd .technic && java -jar ../.minecraft/packwiz-installer-bootstrap.jar https://gitlab.com/Merith-TK/vanillia-modpack/-/raw/main/.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
7z d .build/vanillia-technic.zip ./* ./.* -r
7z a .build/vanillia-technic.zip ./.technic/* -r
clean:
-rm -rf .technic
-rm -rf .build
-git gc --aggressive --prune
all: curseforge modrinth multimc technic clean