Added command to build an executable with a REPL.
authorSaba Saba <saba@sabadev.xyz>
Thu, 9 Feb 2023 17:26:17 +0000 (12:26 -0500)
committerSaba Saba <saba@sabadev.xyz>
Thu, 9 Feb 2023 17:26:17 +0000 (12:26 -0500)
git-skipper-load.cl
git-skipper.cl

index 193a411..18d8df5 100644 (file)
@@ -1,3 +1,4 @@
-(in-package :cl-user)
-
 (load (compile-file "git-skipper.cl"))
+(save-lisp-and-die "git-skipper.exe" :executable t)
+
+; sbcl --load git-skipper.cl
index b6ed3a9..fbf8290 100644 (file)
@@ -1,3 +1,5 @@
+; sbcl --load git-skipper.cl
+
 (ql:quickload '("cl-utilities" "str"))
 
 (in-package :cl-user)
@@ -40,3 +42,8 @@
 
 (defun delete-merged-branches ()
   (mapcar #'delete-branch (git "branch" "--merged")))
+
+(defun make ()
+  (progn
+    (load (compile-file "git-skipper.cl"))
+    (save-lisp-and-die "git-skipper.exe" :executable t)))