fix hardcoded builddir

This commit is contained in:
crumbtoo
2024-02-22 10:51:43 -07:00
parent a2ad7856a6
commit a7dd852464
2 changed files with 10 additions and 1 deletions

8
find-build.cl Executable file
View File

@@ -0,0 +1,8 @@
#!/usr/bin/env clisp
(let* ((paths (directory "dist-newstyle/build/*/*/rlp-*/build/"))
(n (length paths)))
(cond ((< 1 n) (error ">1 build directories found. run `cabal clean`."))
((< n 1) (error "no build directories found. this shouldn't happen lol"))
(t (format t "~A" (car paths)))))