Skip to content

Instantly share code, notes, and snippets.

@PEMapModder
PEMapModder / compile.sh
Last active January 25, 2016 13:05 — forked from shoghicp/compile.sh
PHP7.0.1 + pthreads 3.1.5 + YAML + other stuff needed to run PocketMine. Experimental
#!/bin/bash
[ -z "$PHP_VERSION" ] && PHP_VERSION="7.0.1"
ZEND_VM="GOTO"
ZLIB_VERSION="1.2.8"
POLARSSL_VERSION="1.3.8"
LIBMCRYPT_VERSION="2.5.8"
GMP_VERSION="6.0.0a"
GMP_VERSION_DIR="6.0.0"
CURL_VERSION="curl-7_44_0"
dispatcher.registerCommand(
literal("scoreboard").then(
literal("players").then(
literal("reset").then(
argument("players", players()).then(
optional("objective", objective())
).executes(SOME_COMMAND)
)
).then(
literal("list").then(