aboutsummaryrefslogtreecommitdiff
path: root/justfile
diff options
context:
space:
mode:
Diffstat (limited to 'justfile')
-rw-r--r--justfile12
1 files changed, 11 insertions, 1 deletions
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);