30 lines
871 B
Makefile
30 lines
871 B
Makefile
|
# Makefile for Erbosoft Vista modpack
|
||
|
# EJB 11/5/2015
|
||
|
|
||
|
VERSION=0.01
|
||
|
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
|
||
|
|
||
|
clean:
|
||
|
-rm -rf build/
|
||
|
find . -name '*~' -delete
|