update recipes

This commit is contained in:
2026-03-18 23:10:41 +01:00
parent 5efff7c84e
commit 945c1fe0bc
2 changed files with 18 additions and 6 deletions

View File

@ -137,10 +137,18 @@ r2i module addr="dbg.os_main":
# Just do it
# =================================================================================================================== #
[arg("mode", pattern="c|aot|interp", help="Which WASM mode to use")]
[arg("target", pattern="fail|linux|linux-baremetal", help="Which platform to compile for")]
[doc("Perform all steps for a fail/linux/linux-bm build with aot/interp WASM")]
[group("5: just do it")]
build module target="fail" mode="aot":
build module="__help" target="fail" mode="aot":
#!/usr/bin/env sh
if [ "{{ module }}" = "__help" ]; then
just --usage build
exit 0
fi
just clean {{ module }}
just create-build-dir {{ module }}
@ -206,4 +214,8 @@ inject module:
just server {{ module }}
just client {{ module }}
just result {{ module }}
just resultbrowser
[doc("Copy build directory to injections/ with timestamp")]
[group("5: just do it")]
archive module suffix:
cp -rv {{ BUILD_DIR }}-{{ module }} ./injections/`date +%Y-%m-%d_%H-%M`_{{ module }}_"{{ suffix }}"