Add code to find luprex root directory

This commit is contained in:
2023-05-10 15:24:47 -04:00
parent 9e74e67277
commit 64b4fc465d
9 changed files with 68 additions and 19 deletions

View File

@@ -15,6 +15,7 @@
#include <ostream>
#include <sstream>
#include <algorithm>
#include <filesystem>
namespace drvutil {
@@ -37,7 +38,7 @@ namespace drvutil {
// returns an error message. In this case, the ostream contains garbage. If
// there is no error, returns the empty string.
//
std::string package_lua_source(const std::string &base, std::ostream *oss);
std::string package_lua_source(const std::filesystem::path &base, std::ostream *oss);
// Parse a target designation.
//