Compare commits
8 Commits
Author | SHA1 | Date | |
---|---|---|---|
bdc69ceea7 | |||
5f9af90e80 | |||
4d7ecf8258 | |||
04902214b7
|
|||
0bfd93150f
|
|||
96a5f25e02 | |||
d4c4d3fe75 | |||
33808b4906
|
@@ -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',
|
||||||
|
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -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
|
||||||
|
Reference in New Issue
Block a user