From 70e3920556496e5fecb5fedddf1067b2522fcac7 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Tue, 24 Dec 2024 18:51:17 +0530 Subject: Add setup for ocr with tesseract --- justfile | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'justfile') diff --git a/justfile b/justfile index 8fc38cd..b1ad23d 100644 --- a/justfile +++ b/justfile @@ -4,11 +4,13 @@ default: run *args: cabal run chelleport -- {{args}} +runw *args: + nodemon -e .hs,.cpp -w bin -w src -w cpp --exec 'clear && just run {{args}}' + test *args: cabal test {{args}} testw *args: - # nodemon -e .hs -w src --exec 'ghcid -c "cabal repl test:specs" -T :main' nodemon -e .hs -w src -w specs --exec 'clear && just test {{args}}' build: @@ -16,3 +18,11 @@ build: appimage: nix bundle --bundler github:ralismark/nix-appimage + +# lib: +# @mkdir -p dist-lib; +# gcc -o dist-lib/libchelleport.so \ +# cpp/libchelleport.cpp \ +# -shared \ +# -lstdc++ \ +# $(pkg-config --libs tesseract lept); -- cgit v1.3.1