From c1e8b0e3044fb81c87ab67b809f51a8486203f2e 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 0000000..c800bc3 --- /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 0000000..ea3850b --- /dev/null +++ b/sysdata/programs/test/src/main.hbl @@ -0,0 +1,2 @@ +fn main() { +} \ No newline at end of file