aboutsummaryrefslogtreecommitdiff
path: root/justfile
blob: b1ad23dd5ef18cde8b9d040b0630ad525dadf0f3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
default:
  @just --choose

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 -w specs --exec 'clear && just test {{args}}'

build:
  nix 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);