From 5006226e945fc645e6d9b21252c9eee53cc191cc Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 23 Sep 2018 12:22:37 +0200 Subject: Fix various things, add generated zig header files to global include Fix compile_commands.json missing build steps. Fix c includes -> zig includes flags. Fix crash when running sibs new/init without defining lang. Add generated zig header files to global include so they can be used from c/c++. Add zig and zig/c (using zig and c in the same project) examples. --- include/FileUtil.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/FileUtil.hpp b/include/FileUtil.hpp index b808573..aa2b82f 100644 --- a/include/FileUtil.hpp +++ b/include/FileUtil.hpp @@ -53,6 +53,7 @@ namespace sibs Result fileOverwrite(const _tinydir_char_t *filepath, StringView data); Result getHomeDir(); Result getCwd(); + Result createDirectory(const _tinydir_char_t *path); // Note: Will not delete created directories if this operation fails for some reason Result createDirectoryRecursive(const _tinydir_char_t *path); Result getRealPath(const _tinydir_char_t *path); -- cgit v1.2.3