rename LuaPlayer.hpp to LuaWebSocket.h

This commit is contained in:
Benjamin Sergeant 2020-04-28 18:37:19 -07:00
parent 755493eaf3
commit a040ff06e8
3 changed files with 6 additions and 6 deletions

View File

@ -1,5 +1,4 @@
#ifndef LUAPLAYER_HPP
#define LUAPLAYER_HPP
#pragma once
#include <iostream>
#include <string>
@ -89,5 +88,3 @@ int luaopen_Player(lua_State* L)
);
return 1;
}
#endif // LUAPLAYER_HPP

View File

@ -8,7 +8,7 @@ extern "C"
}
#include "functions.hpp"
#include "LuaPlayer.hpp"
#include "LuaWebSocket.h"
int main()
{
@ -24,4 +24,3 @@ int main()
luaL_dofile(L, "ia.lua");
lua_close(L);
}

View File

@ -159,6 +159,9 @@ test_no_ssl:
mkdir -p build && (cd build ; cmake -DCMAKE_BUILD_TYPE=Debug -DUSE_TEST=1 .. ; make -j 4)
(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
(cd ws ; env DEBUG=1 PATH=../ws/build:$$PATH bash test_ws.sh)
@ -185,3 +188,4 @@ doc:
.PHONY: test
.PHONY: build
.PHONY: ws
.PHONY: luarocks