diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..80376a2 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,6 @@ +*.png filter=lfs diff=lfs merge=lfs -text +*.icns filter=lfs diff=lfs merge=lfs -text +*.ico filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.tza filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b25c15b --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*~ diff --git a/build.sh b/build.sh index dbceca6..4c5b5d9 100755 --- a/build.sh +++ b/build.sh @@ -1,5 +1,9 @@ #!/bin/bash +pushd godot + +ln -f -s ../custom.py . + COMMON="-j4" TEMPLATE="${COMMON} disable_3d=yes svg=no" @@ -11,24 +15,24 @@ TEMPLATE="${COMMON} disable_3d=yes svg=no" #scons platform=linuxbsd target=editor arch=x86_64 lto=full ${COMMON} scons platform=linuxbsd target=editor arch=x86_64 ${COMMON} -exit 0 +popd + +:< +#sudo update-alternatives --config x86_64-w64-mingw32-g++ +# + +# MacOS +# https://docs.godotengine.org/en/stable/contributing/development/compiling/compiling_for_macos.html#cross-compiling-for-macos-from-linux