summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xosx.sh25
1 files changed, 25 insertions, 0 deletions
diff --git a/osx.sh b/osx.sh
new file mode 100755
index 00000000..f2940a4c
--- /dev/null
+++ b/osx.sh
@@ -0,0 +1,25 @@
+#!/bin/bash
+
+set -e
+
+MY_DIR=$(cd "$(dirname $0)";pwd)
+cd $MY_DIR
+
+git submodule -q update --recursive --init
+
+echo "build luamake ..."
+cd 3rd/luamake
+ninja -f ninja/macos.ninja
+cd -
+
+./3rd/luamake/luamake
+
+cd server
+mv bin/*.so .
+./bin/lua-language-server publish.lua
+cd -
+
+cp server/*.so publish/lua-language-server/server/
+
+#cd publish/lua-language-server
+#vsce package