Iuri Matias cb0a222f15
Update api (#27)
* feat: use recommended logos-module-builder to simplify core modules

* add tests

add tests

update readme

* update api

update api

simplify

simplify

* ci fix

* ci fix

---------

Co-authored-by: Khushboo Mehta <mehtakhushboo@hotmail.com>
Co-authored-by: Logos Workspace <logos@workspace.local>
2026-06-05 11:26:27 -04:00

25 lines
655 B
Makefile

default: build
# Inside `nix develop` / `ws develop logos-blockchain-module` the module-builder
# provides LOGOS_CPP_SDK_ROOT and LOGOS_MODULE_BUILDER_ROOT — CMake picks them
# up automatically via the logos_module() macro, no explicit -D flags needed.
configure:
cmake -S . -B build -G Ninja
build: configure
cmake --build build --parallel --target liblogos_blockchain_module_module_plugin
clean:
rm -rf build result
rebuild: clean build
nix:
nix develop
prettify:
nix shell nixpkgs#clang-tools -c clang-format -i src/**.cpp src/**.h
unicode-logs file:
perl -pe 's/\\u([0-9A-Fa-f]{4})/chr(hex($1))/ge' {{file}} | less -R