implement naive packer
This commit is contained in:
parent
8698cf8160
commit
e31683d2fe
8 changed files with 114 additions and 78 deletions
12
justfile
12
justfile
|
@ -3,7 +3,7 @@ exe_cli := "./packing_cli"
|
|||
exe_gui := "./packing_gui"
|
||||
build_sh := "build.sh"
|
||||
|
||||
params := "lenna.png 0 0 64 64 100 100 200 164 80 200 150 420"
|
||||
params := "lenna.png 0 0 64 64 100 100 100 64 80 200 70 220"
|
||||
|
||||
|
||||
build-raylib:
|
||||
|
@ -33,5 +33,15 @@ generate-build:
|
|||
debug: build-cli
|
||||
lldb {{exe_cli}} {{params}}
|
||||
|
||||
memcheck: build-cli
|
||||
valgrind --leak-check=yes {{exe_cli}} {{params}}
|
||||
|
||||
massif: build-cli
|
||||
valgrind --tool=massif --massif-out-file=pipeline.massif {{exe_cli}} {{params}}
|
||||
ms_print pipeline.massif
|
||||
|
||||
callgrind: build-cli
|
||||
valgrind --tool=callgrind {{exe_cli}} {{params}}
|
||||
|
||||
archive: generate-build
|
||||
git archive --add-file={{build_sh}} --output={{name}}.zip --prefix={{name}}/ HEAD
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue