aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/Conf.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/Conf.hpp b/include/Conf.hpp
index d8ce3a8..f5fb382 100644
--- a/include/Conf.hpp
+++ b/include/Conf.hpp
@@ -141,6 +141,7 @@ namespace sibs
const char* asString(Platform platform);
const char* asString(OptimizationLevel optLevel);
bool directoryToIgnore(const FileString &dir, const std::vector<std::string> &ignoreDirList);
+ bool isProjectNameValid(const std::string &projectName);
class SibsConfig : public ConfigCallback
{
@@ -227,6 +228,8 @@ namespace sibs
virtual void processObject(StringView name) override;
virtual void processField(StringView name, const ConfigValue &value) override;
virtual void finished() override;
+ private:
+ void validatePackageName() const;
protected:
StringView currentObject;
Compiler compiler;