1 Star 0 Fork 0

黑苹果/jMonkeyEngineSdk

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
build_engine.sh 2.09 KB
一键复制 编辑 原始数据 按行查看 历史
#!/bin/sh
# This Shell Script will build and use the latest jMonkeyEngine git version, so there might be some undiscovered engine bugs, watch out!
# Also if you want to revert to releases and bintray builds, you need to uninstall them from your local maven repo...
if [ ! -d "engine" ]; then
echo "Downloading the Engine, this may take some time"
if [ "x$TRAVIS" != "x" ] && [ "x$TRAVIS_TAG" != "x" ]; then
# Extract the engine version from the sdk branch tag.
git clone -b $(echo "$TRAVIS_TAG" | sed -n 's/\(v.\+\)-sdk.\+/\1/p') --single-branch --depth 10 https://github.com/jMonkeyEngine/jMonkeyEngine/ engine # single-branch requires git > 1.7.10, if you see an error, just leave it out.
else
#git clone -b master --single-branch --depth 10 https://github.com/jMonkeyEngine/jMonkeyEngine/ engine # single-branch requires git > 1.7.10, if you see an error, just leave it out.
git clone -b v3.3 --single-branch --depth 10 https://github.com/jMonkeyEngine/jMonkeyEngine/ engine # single-branch requires git > 1.7.10, if you see an error, just leave it
fi
cd engine
else
echo "Engine already cloned, pulling updates."
cd engine
git pull
fi
# git checkout tags/v3.1.0-beta2 # To use this, leave out depth and change -b to a branch.
#echo "Patching the Engine...."
#patch -s -N -p 1 < ../patches/FixHWSkinningSerialization.diff
# Remark: We don't build the engine from here anymore but instead use https://docs.gradle.org/current/userguide/composite_builds.html,
# that way we don't have to care about versioning and don't spam the user's mavenLocal Repo. Also you only need this script really to
# download the engine. Nothing a windows user couldn't do by hand.
# Until https://github.com/jMonkeyEngine/jmonkeyengine/issues/1260 is solved, prebuild the engine manually
echo "Prebuilding the engine to ensure native libraries are unzipped"
./gradlew -PbuildJavaDoc=true build assemble
#echo "Building the Engine and installing them to your local maven repo...."
# ./gradlew -PbuildJavaDoc=true install # Depends on jarJavadoc, jarSourcecode, assemble, dist etc.
cd ../
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/bmw360/j-monkey-engine-sdk.git
[email protected]:bmw360/j-monkey-engine-sdk.git
bmw360
j-monkey-engine-sdk
jMonkeyEngineSdk
master

搜索帮助