aboutsummaryrefslogtreecommitdiff
path: root/software/minecraft
diff options
context:
space:
mode:
Diffstat (limited to 'software/minecraft')
-rw-r--r--software/minecraft/.gitignore1
-rw-r--r--software/minecraft/makefile7
-rw-r--r--software/minecraft/versions.mk1
3 files changed, 9 insertions, 0 deletions
diff --git a/software/minecraft/.gitignore b/software/minecraft/.gitignore
new file mode 100644
index 0000000..d392f0e
--- /dev/null
+++ b/software/minecraft/.gitignore
@@ -0,0 +1 @@
+*.jar
diff --git a/software/minecraft/makefile b/software/minecraft/makefile
new file mode 100644
index 0000000..44d7ac0
--- /dev/null
+++ b/software/minecraft/makefile
@@ -0,0 +1,7 @@
+include versions.mk
+
+MINECRAFT_SERVER = $(1.4.7)
+
+server.jar:
+ curl -sLo- $(MINECRAFT_SERVER) > $@
+
diff --git a/software/minecraft/versions.mk b/software/minecraft/versions.mk
new file mode 100644
index 0000000..1eebba1
--- /dev/null
+++ b/software/minecraft/versions.mk
@@ -0,0 +1 @@
+1.4.7 = https://launcher.mojang.com/v1/objects/2f0ec8efddd2f2c674c77be9ddb370b727dec676/server.jar