8 Commits
1.0.1 ... 1.0.2

3 changed files with 3 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
project('obelisk', project('obelisk',
'c', 'c',
'cpp', 'cpp',
version : '1.0.1', version : '1.0.2',
license : 'BSD-3-Clause', license : 'BSD-3-Clause',
default_options : [ default_options : [
'warning_level=3', 'warning_level=3',

View File

@@ -250,6 +250,7 @@ void obelisk::KnowledgeBase::checkRule(obelisk::Fact& fact)
auto updateFact = rule.getFact(); auto updateFact = rule.getFact();
updateFact.setIsTrue(1.0); updateFact.setIsTrue(1.0);
updateFact.updateIsTrue(dbConnection_); updateFact.updateIsTrue(dbConnection_);
checkRule(updateFact);
} }
} }
} }

View File

@@ -15,7 +15,7 @@ namespace obelisk
* *
*/ */
std::string usageMessage = R"(Usage: obelisk [OPTION]... [FILE]... std::string usageMessage = R"(Usage: obelisk [OPTION]... [FILE]...
Compile the obelisk source FILE(s) into knoweldge base and library. Compile the obelisk source FILE(s) into knowledge base and library.
Options: Options:
-h, --help shows this help/usage message -h, --help shows this help/usage message