summaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-11-24 02:42:00 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2025-11-24 02:43:45 +0100
commitfc5bab30ba4d77a5c040f2c461aa8b2dd5361482 (patch)
tree9aa34c2bcf93b869238e8499245e5afb0cc5c36f /tools
parent88089b7dc28e47bb94de6e6de123e1be58f7dd5f (diff)
feat: system and CI improvements.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'tools')
-rw-r--r--tools/StepsTool.cc (renamed from tools/steps.cc)9
-rw-r--r--tools/steps.toml2
2 files changed, 6 insertions, 5 deletions
diff --git a/tools/steps.cc b/tools/StepsTool.cc
index 6b9a8f7..ccad634 100644
--- a/tools/steps.cc
+++ b/tools/StepsTool.cc
@@ -1,11 +1,11 @@
/* ===========================================================
-Copyright (C) 2025, Amlal El Mahrouss, licensed under the Apache 2.0 license.
+ Copyright (C) 2025 Amlal El Mahrouss, Licensed under the Apache 2.0 license
=========================================================== */
-#include <libocl/dev/lib/io/print.hpp>
-#include <libsteps/dev/lib/steps.hpp>
+#include <io/print.hpp>
+#include <steps/steps.hpp>
/// =========================================================== ///
/// Use operators from steps namespace to compare steps records.
@@ -25,7 +25,8 @@ int main(void) {
file >> steps;
- if (!ocl::steps::is_valid(steps)) return EXIT_FAILURE;
+ if (!ocl::steps::is_valid(steps))
+ return EXIT_FAILURE;
/// AMLALE: Read steps from file and process them.
diff --git a/tools/steps.toml b/tools/steps.toml
index f9e3734..4d0de7c 100644
--- a/tools/steps.toml
+++ b/tools/steps.toml
@@ -1,7 +1,7 @@
compiler_path = "clang++"
compiler_std = "c++20"
headers_path = [ "../lib", "../lib/libocl/dev/", "/opt/homebrew/Cellar/boost/1.89.0/include" ]
-sources_path = [ "steps.cc" ]
+sources_path = [ "StepsTool.cc" ]
output_name = "steps.o"
compiler_flags = [ "-fPIC" ]
cpp_macros = [ "__NE_STEPS__" ]