From eb30ee3c129f16f316e888b8242d3777fc3e2e90 Mon Sep 17 00:00:00 2001 From: able Date: Thu, 15 Feb 2024 15:24:01 -0600 Subject: [PATCH] example of a new build tool for programs --- sysdata/programs/test/meta.toml | 16 ++++++++++++++++ sysdata/programs/test/src/main.hbl | 2 ++ 2 files changed, 18 insertions(+) create mode 100644 sysdata/programs/test/meta.toml create mode 100644 sysdata/programs/test/src/main.hbl diff --git a/sysdata/programs/test/meta.toml b/sysdata/programs/test/meta.toml new file mode 100644 index 00000000..c800bc35 --- /dev/null +++ b/sysdata/programs/test/meta.toml @@ -0,0 +1,16 @@ +[package] +name = "logger_testing" +authors = ["able"] + +# Similar to cargo libraries +[dependants.libraries] +# Similar to cargo install +[dependants.binaries] +hblang = "" + +[build.debug] +command = "hblang src/main.hbl" + +[run.debug] +depends = ["build.debug"] +command = "" diff --git a/sysdata/programs/test/src/main.hbl b/sysdata/programs/test/src/main.hbl new file mode 100644 index 00000000..ea3850b2 --- /dev/null +++ b/sysdata/programs/test/src/main.hbl @@ -0,0 +1,2 @@ +fn main() { +} \ No newline at end of file