Trying and failing to get Purugin working
This commit is contained in:
parent
d246e8fa17
commit
0a4dc842c6
5
bukkit/.gitignore
vendored
5
bukkit/.gitignore
vendored
@ -16,3 +16,8 @@ world/
|
||||
world_nether/
|
||||
world_the_end/
|
||||
plugins/
|
||||
jruby-complete.jar
|
||||
banned-ips.txt
|
||||
banned-players.txt
|
||||
ops.txt
|
||||
white-list.txt
|
||||
|
@ -1,14 +1,36 @@
|
||||
CRAFTBUKKIT_VERSION := 1.8.3-R0.1-SNAPSHOT-latest
|
||||
CRAFTBUKKIT_VERSION := 1.7.2-R0.2
|
||||
CRAFTBUKKIT_FULL_VERSION := 1.7.2-R0.4-20140216.012104-3
|
||||
PURUGIN_VERSION := 0.7.1
|
||||
DEPS := \
|
||||
craftbukkit.jar \
|
||||
eula.txt \
|
||||
plugins/Purugin.jar \
|
||||
jruby-complete.jar
|
||||
|
||||
.PHONY: all
|
||||
all: deps
|
||||
|
||||
.PHONY: deps
|
||||
deps: craftbukkit.jar eula.txt
|
||||
deps: $(DEPS)
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
rm -vf $(DEPS)
|
||||
|
||||
craftbukkit.jar:
|
||||
curl -SL --progress -o $@ \
|
||||
http://tcpr.ca/download/craftbukkit/craftbukkit-$(CRAFTBUKKIT_VERSION).jar
|
||||
http://tcpr.ca/download/craftbukkit/craftbukkit-$(CRAFTBUKKIT_FULL_VERSION).jar
|
||||
|
||||
eula.txt:
|
||||
echo "eula=true" > $@
|
||||
|
||||
plugins/Purugin.jar: plugins
|
||||
curl -SL --progress -o $@ \
|
||||
http://dev.bukkit.org/media/files/765/560/purugin-$(PURUGIN_VERSION)-bukkit-$(CRAFTBUKKIT_VERSION).jar
|
||||
|
||||
plugins:
|
||||
mkdir -p $@
|
||||
|
||||
jruby-complete.jar:
|
||||
curl -SL --progress -o $@ \
|
||||
https://s3.amazonaws.com/jruby.org/downloads/1.7.19/jruby-complete-1.7.19.jar
|
||||
|
@ -1,10 +1,12 @@
|
||||
#!/bin/bash
|
||||
set -o errexit
|
||||
|
||||
: ${JAVA_OPTS:=-Xmx1G}
|
||||
: ${BUKKIT_ARGS:=-o true}
|
||||
|
||||
TOP=$(dirname ${BASH_SOURCE[0]})
|
||||
cd "${TOP}"
|
||||
|
||||
: ${JAVA_OPTS:=-Xmx1G -cp "${TOP}/jruby-complete.jar"}
|
||||
: ${BUKKIT_ARGS:=-o true}
|
||||
: ${GEM_HOME:=${TOP}/gems}
|
||||
|
||||
set -x
|
||||
exec java ${JAVA_OPTS} -jar "${TOP}/craftbukkit.jar" ${BUKKIT_ARGS}
|
||||
|
Loading…
Reference in New Issue
Block a user