diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-12-19 15:01:02 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-12-19 15:01:02 +0100 |
| commit | 019a38b9553b903fbcd0dbafecb1a3d418ee05a9 (patch) | |
| tree | 2ecde0316de9f051284bfc14cec3f255e03c1b7a /src/lib/JSONManifestBuilder.cc | |
| parent | 2ae776318e6c92079528c35f3f5faf81f54fa10e (diff) | |
chore! remove entire `run-after-build` on JSON targets.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'src/lib/JSONManifestBuilder.cc')
| -rw-r--r-- | src/lib/JSONManifestBuilder.cc | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/lib/JSONManifestBuilder.cc b/src/lib/JSONManifestBuilder.cc index fcb9204..83f1089 100644 --- a/src/lib/JSONManifestBuilder.cc +++ b/src/lib/JSONManifestBuilder.cc @@ -95,24 +95,6 @@ bool JSONManifestBuilder::BuildTarget(BuildConfig& config) { config.has_failed_ = true; return false; } - - // FIXME: segfault. -#if 0 - if (!config.dry_run_) { - auto run_after_build = json_obj["run_after_build"].get<bool>(); - - if (run_after_build) { - ret_exec = std::system(target.c_str()); - - if (ret_exec > 0) { - NeBuild::Logger::info() << "error: exit with message: " << std::strerror(ret_exec) << "" - << std::endl; - config.has_failed_ = true; - return false; - } - } - } -#endif } catch (std::exception& err) { NeBuild::Logger::info() << "error: exit with message: " << err.what() << "" << std::endl; config.has_failed_ = true; |
