add .bat files for windows

This commit is contained in:
David Botton 2024-02-16 00:21:11 -05:00
parent 788d609d60
commit dc291cb2a6
5 changed files with 6 additions and 4 deletions

1
make-builder.bat vendored Executable file
View file

@ -0,0 +1 @@
sbcl --eval "(ql:quickload :clog/tools)" --eval "(sb-ext:save-lisp-and-die #P\"builder.exe\" :toplevel (lambda () (clog-tools:clog-builder :port 0 :app t :start-browser t)(loop (sleep 10))) :executable t :compression t)"

2
make-docs vendored
View file

@ -1 +1 @@
sbcl --dynamic-space-size 10240 --eval "(ql:quickload :clog/docs)" --eval "(clog:make-html)"
sbcl --dynamic-space-size 10240 --eval "(ql:quickload :clog/docs)" --eval "(clog:make-html)" --eval "(quit)"

1
make-docs.bat vendored Executable file
View file

@ -0,0 +1 @@
sbcl --dynamic-space-size 10240 --eval "(ql:quickload :clog/docs)" --eval "(clog:make-html)" --eval "(quit)"

1
run-builder.bat vendored Executable file
View file

@ -0,0 +1 @@
sbcl --eval "(ql:quickload :clog/tools)" --eval "(clog-tools:clog-builder :port 0 :app t :start-browser t)"

View file

@ -115,7 +115,7 @@
(let ((h (gethash panel-id (control-lists app))))
(if h
h
(make-hash-table* :test #'equalp))))
(make-hash-table* :test #'equalp)))) ;; return empty hash to avoid map fails
(defun add-to-control-list (app panel-id control)
"Add a CONTROL on to control-list on PANEL-ID"
@ -241,7 +241,6 @@
(get-control-list app panel-id))
snap)))
(defun save-panel (fname content panel-id hide-loc)
"Save panel to FNAME"
(write-file (panel-snap-shot content panel-id hide-loc) fname))
@ -872,7 +871,7 @@ not a temporarily attached one when using select-control."
(with-input-from-string (n result)
(let ((*standard-output* s)
(*print-case* :downcase))
(format t ";;;; CLOG Builder generated code - modify original clog file")
(format t ";;;; CLOG Builder generated code - modify original .clog file and rerender")
(loop
(let ((l (read n nil)))
(unless l (return))