diff options
author | Oliver Schneider <oliver@assarbad.net> | 2014-01-30 04:33:06 +0400 |
---|---|---|
committer | Oliver Schneider <oliver@assarbad.net> | 2014-01-30 04:33:06 +0400 |
commit | df218ca45ad982df2466b5c1978cd65c4134938e (patch) | |
tree | f0567d8587f9fabc69f2da54d8067016846f408b /sandbox | |
parent | 96339717924e2730ff95fc787b6fb3f691631f0c (diff) |
Making the tests a little more convenient
Diffstat (limited to 'sandbox')
-rw-r--r-- | sandbox/luaconf/lua_conf.cpp | 2 | ||||
-rw-r--r-- | sandbox/luaconf/luaconf.vs8.vcproj | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/sandbox/luaconf/lua_conf.cpp b/sandbox/luaconf/lua_conf.cpp index d0a45e6..1a14edb 100644 --- a/sandbox/luaconf/lua_conf.cpp +++ b/sandbox/luaconf/lua_conf.cpp @@ -84,7 +84,7 @@ int _tmain(int argc, TCHAR* argv[], TCHAR* envp[]) {
//fprintf(stderr, "[STACK TOP] %i (line %i)\n", lua_gettop(L), __LINE__);
w32res_enumerateEmbeddedLuaScripts(L);
- int ret = luaL_dofile(L, "..\\lua_conf.lua");
+ int ret = luaL_dofile(L, "lua_conf.lua");
if(ret)
{
lua_pop(L, 1); /* pop error message from the stack */
diff --git a/sandbox/luaconf/luaconf.vs8.vcproj b/sandbox/luaconf/luaconf.vs8.vcproj index 5df29b2..0e62022 100644 --- a/sandbox/luaconf/luaconf.vs8.vcproj +++ b/sandbox/luaconf/luaconf.vs8.vcproj @@ -28,6 +28,7 @@ >
<Tool
Name="VCPreBuildEventTool"
+ CommandLine="copy "$(ProjectDir)lua_conf.lua" "$(TargetDir)\""
/>
<Tool
Name="VCCustomBuildTool"
@@ -119,6 +120,7 @@ >
<Tool
Name="VCPreBuildEventTool"
+ CommandLine="copy "$(ProjectDir)lua_conf.lua" "$(TargetDir)\""
/>
<Tool
Name="VCCustomBuildTool"
|