summaryrefslogtreecommitdiff
path: root/osx.sh
blob: f2940a4c8a9bfa269d5916ceb31c73000daec4ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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