git.fiddlerwoaroof.com
Browse code

feat(tools): add build for bloomutil to the makefile

Edward Langley authored on 22/10/2022 21:13:12
Showing 1 changed files
... ...
@@ -1,13 +1,21 @@
1
-all: git-pick-patch
1
+all: git-pick-patch bloomutil
2 2
 
3 3
 bindir:
4 4
 	mkdir -p bin
5 5
 
6
+bloomutil: bloomutil.lisp
7
+	sbcl --disable-debugger \
8
+	     --no-userinit \
9
+	     --eval '(pushnew :fw.dump *features*)' \
10
+	     --load bloomutil.lisp \
11
+	     --eval '(fwoar.bloomutil::dump)'
12
+	mv bloomutil bin
13
+
6 14
 git-pick-patch: bindir git-pick-patch.lisp
7 15
 	sbcl --eval "(ql:quickload '(:alexandria :serapeum :cl-ppcre))" \
8
-       --load git-pick-patch.lisp \
9
-       --eval '(save-lisp-and-die "bin/git-pick-patch"'" :executable t :toplevel 'git-pick-patch::main :compression t)"
16
+	     --load git-pick-patch.lisp \
17
+	     --eval '(save-lisp-and-die "bin/git-pick-patch"'" :executable t :toplevel 'git-pick-patch::main :compression t)"
10 18
 
11 19
 install: all
12 20
 	mkdir -p ${HOME}/bin
13
-	ln -s bin/* ${HOME}/bin
21
+	ln -sf ${PWD}/bin/* ${HOME}/bin