summaryrefslogtreecommitdiffhomepage
path: root/src/lib
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2026-02-13 11:46:49 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2026-02-13 11:46:49 +0100
commit8c5bfdb7777d7f670eac107bca15143836ca833d (patch)
treeccd6ef382ace2a4fac06c9e16c36f5327b8c0ab6 /src/lib
parent081fe7422c04703f09a97bbdaa84477a34fcb653 (diff)
feat: build: fix build system log.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/JSONManifestBuilder.cc8
-rw-r--r--src/lib/TOMLManifestBuilder.cc4
2 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/JSONManifestBuilder.cc b/src/lib/JSONManifestBuilder.cc
index 01b7de2..5d18612 100644
--- a/src/lib/JSONManifestBuilder.cc
+++ b/src/lib/JSONManifestBuilder.cc
@@ -21,13 +21,13 @@ bool JSONManifestBuilder::BuildTarget(BuildConfig& config) {
std::string path;
if (config.path_.empty()) {
- NeBuild::Logger::info() << "nebuild: error: file path is empty" << std::endl;
+ NeBuild::Logger::info() << "error: file path is empty" << std::endl;
return false;
} else {
path = config.path_;
if (!FS::exists(path)) {
- NeBuild::Logger::info() << "nebuild: error: file '" << path << "' does not exist"
+ NeBuild::Logger::info() << "error: file '" << path << "' does not exist"
<< std::endl;
return false;
}
@@ -37,7 +37,7 @@ bool JSONManifestBuilder::BuildTarget(BuildConfig& config) {
std::ifstream json(path);
if (!json.good()) {
- NeBuild::Logger::info() << "nebuild: error: file '" << path
+ NeBuild::Logger::info() << "error: file '" << path
<< "' is not a valid nlohmann::json" << std::endl;
return false;
}
@@ -47,7 +47,7 @@ bool JSONManifestBuilder::BuildTarget(BuildConfig& config) {
try {
nlohmann::json description = json_obj["description"];
- NeBuild::Logger::info() << "nebuild: installing: " << path << std::endl;
+ NeBuild::Logger::info() << "package path: " << path << std::endl;
if (auto res = description.get<std::string>(); !res.empty())
NeBuild::Logger::info() << "nebuild: description: " << res << std::endl;
diff --git a/src/lib/TOMLManifestBuilder.cc b/src/lib/TOMLManifestBuilder.cc
index c28b6bd..5b265dd 100644
--- a/src/lib/TOMLManifestBuilder.cc
+++ b/src/lib/TOMLManifestBuilder.cc
@@ -21,13 +21,13 @@ bool TOMLManifestBuilder::BuildTarget(BuildConfig& config) {
std::string path;
if (config.path_.empty()) {
- NeBuild::Logger::info() << "nebuild: error: file path is empty" << std::endl;
+ NeBuild::Logger::info() << "error: file path is empty" << std::endl;
return false;
} else {
path = config.path_;
if (!FS::exists(path)) {
- NeBuild::Logger::info() << "nebuild: error: file '" << path << "' does not exist"
+ NeBuild::Logger::info() << "error: file '" << path << "' does not exist"
<< std::endl;
return false;
}