From bfdb4e9d2cfc7890c5f194e670039fa76c391330 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Fri, 10 May 2024 15:09:50 +0200 Subject: Added tests --- file.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'file.h') diff --git a/file.h b/file.h index 80133e8..f951a27 100644 --- a/file.h +++ b/file.h @@ -1,6 +1,8 @@ #pragma once #include +#include +#include extern const std::filesystem::path YMakefile; @@ -9,3 +11,7 @@ bool is_compile_unit_source_by_extension(const std::filesystem::path& p); // removes initial "./" std::filesystem::path simplified_path(const std::filesystem::path& p); + +std::string env_value(const std::string& key); +bool is_executable(const std::string& file); +std::string find_executable(const std::vector& list); -- cgit v1.2.3