diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-11-28 19:35:51 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-11-28 19:37:16 +0100 |
| commit | 9300a25c1f3dbc44f5123a3c9fe4830574e036b6 (patch) | |
| tree | cc4216d65bbf18cbdb162371dd71cfdadc32bd1d /tools/StepsTool.cc | |
| parent | 51ccf6b4de8ff07943630fe055b7463ed46c20e5 (diff) | |
chore! core: New structure and Updated CI.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'tools/StepsTool.cc')
| -rw-r--r-- | tools/StepsTool.cc | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/tools/StepsTool.cc b/tools/StepsTool.cc deleted file mode 100644 index ccad634..0000000 --- a/tools/StepsTool.cc +++ /dev/null @@ -1,36 +0,0 @@ -/* =========================================================== - - Copyright (C) 2025 Amlal El Mahrouss, Licensed under the Apache 2.0 license - -=========================================================== */ - -#include <io/print.hpp> -#include <steps/steps.hpp> - -/// =========================================================== /// -/// Use operators from steps namespace to compare steps records. -/// =========================================================== /// -using namespace ocl::steps::operators; - -const auto kStepsFileRoot = "/system/install.stp"; - -/// =========================================================== /// -/// @brief Main function for running steps on NeKernel. -/// =========================================================== /// -int main(void) { - ocl::io::print("steps: running steps for program...\n"); - - std::ifstream file(kStepsFileRoot); - ocl::steps::record steps; - - file >> steps; - - if (!ocl::steps::is_valid(steps)) - return EXIT_FAILURE; - - /// AMLALE: Read steps from file and process them. - - ocl::io::print("steps: done.\n"); - - return EXIT_SUCCESS; -}
\ No newline at end of file |
