diff --git a/.gitignore b/.gitignore index d79fb052..d9199f75 100644 --- a/.gitignore +++ b/.gitignore @@ -12,7 +12,7 @@ modules obj release ipch -src/host/scripts.c +src/scripts.c **.lnt **.vlstatus diff --git a/premake5.lua b/premake5.lua index a1f08f24..ced6fc13 100644 --- a/premake5.lua +++ b/premake5.lua @@ -117,7 +117,6 @@ { "*.txt", "**.lua", "src/**.h", "src/**.c", - "src/host/scripts.c" } excludes diff --git a/scripts/embed.lua b/scripts/embed.lua index 78796780..5973b176 100644 --- a/scripts/embed.lua +++ b/scripts/embed.lua @@ -99,7 +99,7 @@ buffered.writeln(result, "/* DO NOT EDIT - this file is autogenerated - see BUILD.txt */") buffered.writeln(result, "/* To regenerate this file, run: premake5 embed */") buffered.writeln(result, "") - buffered.writeln(result, '#include "premake.h"') + buffered.writeln(result, '#include "host/premake.h"') buffered.writeln(result, "") -- Find all of the _manifest.lua files within the project @@ -171,7 +171,7 @@ -- and only overwrite it if there are actual changes. print("Writing...") - local scriptsFile = path.getabsolute(path.join(_SCRIPT_DIR, "../src/host/scripts.c")) + local scriptsFile = path.getabsolute(path.join(_SCRIPT_DIR, "../src/scripts.c")) local output = buffered.tostring(result) local f, err = os.writefile_ifnotequal(output, scriptsFile);