vista-modpack/Makefile

35 lines
1009 B
Makefile
Raw Normal View History

# Makefile for Erbosoft Vista modpack
# EJB 11/5/2015
VERSION=0.02
FORGEMOD=forge-1.7.10-10.13.4.1448-1.7.10-universal.jar
client-modpack: verify-mods
mkdir -p build/client
-rm -rf build/client/*
mkdir build/client/bin
mkdir build/client/config
mkdir build/client/coremods
mkdir build/client/mods
cp mods-source/forge/${FORGEMOD} build/client/bin/modpack.jar
cp mods-source/server/*.jar build/client/mods
cp mods-source/client/*.jar build/client/mods
cp mods-source/client/*.litemod build/client/mods
cp -r config-source/* build/client/config
-rm -f build/erbosoft-vista-${VERSION}.zip
cd build/client; zip -r ../erbosoft-vista-${VERSION}.zip .
verify-mods:
scripts/verify-mod-downloads mods-source/forge
scripts/verify-mod-downloads mods-source/server
scripts/verify-mod-downloads mods-source/client
sort-modlists:
scripts/sort-modlist mods-source/forge
scripts/sort-modlist mods-source/server
scripts/sort-modlist mods-source/client
clean:
-rm -rf build/
find . -name '*~' -delete