rename LuaPlayer.hpp to LuaWebSocket.h
This commit is contained in:
parent
755493eaf3
commit
a040ff06e8
@ -1,5 +1,4 @@
|
|||||||
#ifndef LUAPLAYER_HPP
|
#pragma once
|
||||||
#define LUAPLAYER_HPP
|
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <string>
|
#include <string>
|
||||||
@ -89,5 +88,3 @@ int luaopen_Player(lua_State* L)
|
|||||||
);
|
);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // LUAPLAYER_HPP
|
|
@ -8,7 +8,7 @@ extern "C"
|
|||||||
}
|
}
|
||||||
|
|
||||||
#include "functions.hpp"
|
#include "functions.hpp"
|
||||||
#include "LuaPlayer.hpp"
|
#include "LuaWebSocket.h"
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
@ -24,4 +24,3 @@ int main()
|
|||||||
luaL_dofile(L, "ia.lua");
|
luaL_dofile(L, "ia.lua");
|
||||||
lua_close(L);
|
lua_close(L);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
4
makefile
4
makefile
@ -159,6 +159,9 @@ test_no_ssl:
|
|||||||
mkdir -p build && (cd build ; cmake -DCMAKE_BUILD_TYPE=Debug -DUSE_TEST=1 .. ; make -j 4)
|
mkdir -p build && (cd build ; cmake -DCMAKE_BUILD_TYPE=Debug -DUSE_TEST=1 .. ; make -j 4)
|
||||||
(cd test ; python2.7 run.py -r)
|
(cd test ; python2.7 run.py -r)
|
||||||
|
|
||||||
|
luarocks:
|
||||||
|
mkdir -p build && (cd build ; cmake -GNinja -DCMAKE_BUILD_TYPE=Debug -DUSE_LUAROCKS=1 .. ; ninja)
|
||||||
|
|
||||||
ws_test: ws
|
ws_test: ws
|
||||||
(cd ws ; env DEBUG=1 PATH=../ws/build:$$PATH bash test_ws.sh)
|
(cd ws ; env DEBUG=1 PATH=../ws/build:$$PATH bash test_ws.sh)
|
||||||
|
|
||||||
@ -185,3 +188,4 @@ doc:
|
|||||||
.PHONY: test
|
.PHONY: test
|
||||||
.PHONY: build
|
.PHONY: build
|
||||||
.PHONY: ws
|
.PHONY: ws
|
||||||
|
.PHONY: luarocks
|
||||||
|
Loading…
Reference in New Issue
Block a user