mirror of
https://gitlab.com/Merith-TK/vanillia-modpack.git
synced 2024-11-22 22:29:30 +00:00
fix some build configs
This commit is contained in:
parent
7834e33c68
commit
158b1fe27f
3 changed files with 7 additions and 6 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -16,7 +16,9 @@
|
||||||
|
|
||||||
## Ignore Modpack Updater Script loose files
|
## Ignore Modpack Updater Script loose files
|
||||||
.technic
|
.technic
|
||||||
|
.build
|
||||||
*.zip
|
*.zip
|
||||||
|
*.mrpack
|
||||||
!.minecraft/.packwizignore
|
!.minecraft/.packwizignore
|
||||||
|
|
||||||
## Add your modded folders/files to ignore here
|
## Add your modded folders/files to ignore here
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
name = "Vanillia Minecraft"
|
name = "Vanillia Minecraft"
|
||||||
author = "Daedreus"
|
author = "Merith.TK, Daedreus"
|
||||||
version = "1.2.1"
|
version = "1.3.0"
|
||||||
pack-format = "packwiz:1.1.0"
|
pack-format = "packwiz:1.1.0"
|
||||||
|
|
||||||
[index]
|
[index]
|
||||||
|
|
7
Makefile
7
Makefile
|
@ -18,13 +18,13 @@ default:
|
||||||
curseforge:
|
curseforge:
|
||||||
-mkdir .build
|
-mkdir .build
|
||||||
@echo "Making Curseforge pack"
|
@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
|
7z d .build/vanillia-curseforge.zip overrides/packwiz-installer-bootstrap.jar overrides/pack.toml overrides/index.toml
|
||||||
|
|
||||||
modrinth:
|
modrinth:
|
||||||
-mkdir .build
|
-mkdir .build
|
||||||
@echo "Making Modrinth pack"
|
@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
|
7z d .build/vanillia-modrinth.zip overrides/packwiz-installer-bootstrap.jar overrides/pack.toml overrides/index.toml
|
||||||
|
|
||||||
multimc:
|
multimc:
|
||||||
|
@ -42,14 +42,13 @@ technic:
|
||||||
-rm -rf .technic
|
-rm -rf .technic
|
||||||
-cp -r .minecraft .technic
|
-cp -r .minecraft .technic
|
||||||
cp vanillia_icon.png .technic/icon.png
|
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
|
-rm -rf .technic/packwiz* .technic/index.toml .technic/pack.toml .technic/mods/*.toml
|
||||||
7z d .build/vanillia-technic.zip ./* ./.* -r
|
7z d .build/vanillia-technic.zip ./* ./.* -r
|
||||||
7z a .build/vanillia-technic.zip ./.technic/* -r
|
7z a .build/vanillia-technic.zip ./.technic/* -r
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
-rm -rf .technic
|
-rm -rf .technic
|
||||||
-rm -rf .build
|
|
||||||
-git gc --aggressive --prune
|
-git gc --aggressive --prune
|
||||||
|
|
||||||
all: curseforge modrinth multimc technic clean
|
all: curseforge modrinth multimc technic clean
|
||||||
|
|
Loading…
Reference in a new issue