summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsumneko <sumneko@hotmail.com>2019-05-22 16:34:34 +0800
committersumneko <sumneko@hotmail.com>2019-05-22 16:34:34 +0800
commit09a095225f3c1b2da529eefe5ab2af7de0e04983 (patch)
treedb779a4de7d8a75cd0782163f9550cf7d32a6c34
parent44dc7c6316fefb81217538fa101b550114ff4f1c (diff)
downloadlua-language-server-09a095225f3c1b2da529eefe5ab2af7de0e04983.zip
osx编译修改文件上限避免报错
-rwxr-xr-xosx.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/osx.sh b/osx.sh
index a6eec18c..e297575d 100755
--- a/osx.sh
+++ b/osx.sh
@@ -17,6 +17,10 @@ cd -
cd server
mv bin/*.so .
+
+# avoid too many file opened error
+ulimit -n 4000
+
./bin/lua-language-server publish.lua
cd -