Add prettify command and fix build command.

This commit is contained in:
Alejandro Cabeza Romero 2026-02-16 16:14:54 +01:00
parent 4e5703787e
commit 61fe193062
No known key found for this signature in database
GPG Key ID: DA3D14AE478030FD

View File

@ -7,7 +7,7 @@ configure:
${LOGOS_BLOCKCHAIN_INCLUDE:+-DLOGOS_BLOCKCHAIN_INCLUDE="$LOGOS_BLOCKCHAIN_INCLUDE"}
build: configure
cmake --build build --parallel --target liblogos-blockchain-module
cmake --build build --parallel --target logos-blockchain-module
clean:
rm -rf build target
@ -17,5 +17,8 @@ rebuild: clean configure 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