Last active
December 20, 2015 08:29
-
-
Save drone29a/6100464 to your computer and use it in GitHub Desktop.
Use lein localrepo to install jMonkeyEngine3 jars. Build jME3 with "ant build-engine" then run this script from "<jme3_root>/engine/dist/lib".
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import subprocess | |
path = os.path.dirname(os.path.realpath(__file__)) | |
def install_cmd(fname, group_id, art_id, version): | |
return "lein localrepo install %s %s/%s %s" % (fname, group_id, art_id, version) | |
for fname in os.listdir(path): | |
name = os.path.splitext(fname)[0] | |
cmd = install_cmd(fname, "jme3-local", name, "3.0-SNAPSHOT") | |
subprocess.check_output(cmd, stderr=subprocess.STDOUT, shell=True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment