File tree Expand file tree Collapse file tree 2 files changed +7
-13
lines changed Expand file tree Collapse file tree 2 files changed +7
-13
lines changed Original file line number Diff line number Diff line change @@ -27,26 +27,21 @@ clean:
2727
2828deps :
2929 echo " Installing dependencies..."
30- sudo luarocks install lua-protobuf
31- sudo luarocks install luasocket
32- sudo luarocks install lua-cjson
30+ luarocks install --local lua-protobuf
31+ luarocks install --local luasocket
32+ luarocks install --local lua-cjson
3333
3434install : build
3535 echo " Installing the project..."
36- luarocks make --local spawn-sdk-0.1. 0.rockspec
36+ luarocks make --local spawn-lua- sdk-0.1- 0.rockspec
3737
3838test :
3939 go test -v ./...
4040
4141compile-proto :
4242 echo " Compiling protobuf files..."
43- protoc --lua_out=src/generated/ \
44- -I =${GOOGLE_PROTO_ROOT} \
45- ${GOOGLE_PROTO_FILES}
46-
47- protoc --lua_out=src/generated/ \
48- -I =${SPAWN_PROTO_ROOT} \
49- ${SPAWN_PROTO_FILES}
43+ docker run --rm -v $(pwd ) :/work -w /work znly/protoc --plugin=protoc-gen-lua=/usr/bin/protoc-gen-lua --lua_out=src/generated -I=${GOOGLE_PROTO_ROOT} ${GOOGLE_PROTO_FILES}
44+ docker run --rm -v $(pwd ) :/work -w /work znly/protoc --plugin=protoc-gen-lua=/usr/bin/protoc-gen-lua --lua_out=src/generated -I=${SPAWN_PROTO_ROOT} ${SPAWN_PROTO_FILES}
5045
5146
5247
Original file line number Diff line number Diff line change 11package = " spawn-lua-sdk"
2- version = " 0.1. 0"
2+ version = " 0.1- 0"
33source = {
44 url = " git://github.com/eigr-labs/spawn-lua-sdk"
55}
@@ -9,7 +9,6 @@ description = {
99 license = " Apache-2.0"
1010}
1111dependencies = {
12- " lua >= 5.3" ,
1312 " lua-protobuf >= 0.3.3" ,
1413 " luasocket >= 3.1.0" ,
1514 " lua-cjson >= 2.1.0"
You can’t perform that action at this time.
0 commit comments