aboutsummaryrefslogtreecommitdiff
path: root/backend/BackendUtils.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-09-21 10:22:24 +0200
committerdec05eba <dec05eba@protonmail.com>2020-07-06 07:39:33 +0200
commitbf42a3fe559b53b62db9c6363efbec612804dbe7 (patch)
tree9b499988832a053d7efc275e97f9803b2f5d6f5b /backend/BackendUtils.hpp
parent0415b7bef504b41b43672b3e153bbe260f2cc055 (diff)
Add support for running zig tests
Diffstat (limited to 'backend/BackendUtils.hpp')
-rw-r--r--backend/BackendUtils.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/backend/BackendUtils.hpp b/backend/BackendUtils.hpp
index acef0ca..f99d7e5 100644
--- a/backend/BackendUtils.hpp
+++ b/backend/BackendUtils.hpp
@@ -9,6 +9,8 @@ namespace backend
class BackendUtils
{
public:
+ static sibs::FileString getFileExtension(const sibs::FileString &filepath);
+ static sibs::Language getFileLanguage(const _tinydir_char_t *extension);
static sibs::Language getFileLanguage(tinydir_file *file);
static void collectSourceFiles(const _tinydir_char_t *projectPath, Ninja *ninjaProject, const sibs::SibsConfig &sibsConfig, bool recursive = true);
};