aboutsummaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-09-20 21:54:06 +0200
committerdec05eba <dec05eba@protonmail.com>2020-07-06 07:39:33 +0200
commit0415b7bef504b41b43672b3e153bbe260f2cc055 (patch)
treeeb2e5657c0b9e4319885dce4bb09ee4c9ac0a110 /backend
parent8e8dda19284c2e3767aa7b97fb29edad56344aae (diff)
Add c and zig template to sibs build, sibs init
Diffstat (limited to 'backend')
-rw-r--r--backend/BackendUtils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/BackendUtils.cpp b/backend/BackendUtils.cpp
index 26608c7..ac71b07 100644
--- a/backend/BackendUtils.cpp
+++ b/backend/BackendUtils.cpp
@@ -79,7 +79,7 @@ namespace backend
string filePathUtf8 = toUtf8(pathNative.c_str());
ninjaProject->addTestSourceDir(filePathUtf8.c_str());
}
- else if(recursive && !directoryToIgnore(pathNative, sibsConfig.getIgnoreDirs()) && !_tinydir_strcmp(pathNative.c_str(), TINYDIR_STRING("sibs-build")))
+ else if(recursive && !directoryToIgnore(pathNative, sibsConfig.getIgnoreDirs()) && _tinydir_strcmp(file->name, TINYDIR_STRING("sibs-build")) != 0)
{
FileString projectConfPath = file->path;
#if OS_FAMILY == OS_FAMILY_WINDOWS