mirror of
https://github.com/logos-blockchain/logos-blockchain-module.git
synced 2026-02-20 04:53:10 +00:00
Add prettify command and fix build command.
This commit is contained in:
parent
4e5703787e
commit
61fe193062
5
justfile
5
justfile
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user