Some new dependencies
start up a slynk server in the binary entry point so we can attach Sly to it and work live without pfaffing about in the threading library, hiding radiance from Sly/Slynk running inside emacs.
This commit is contained in:
parent
f4a39875d2
commit
7ce119cabd
10
asteroid.asd
10
asteroid.asd
|
|
@ -9,7 +9,9 @@
|
||||||
:version "0.0.0"
|
:version "0.0.0"
|
||||||
:defsystem-depends-on (:radiance)
|
:defsystem-depends-on (:radiance)
|
||||||
:class "radiance:virtual-module"
|
:class "radiance:virtual-module"
|
||||||
:depends-on (:radiance
|
:depends-on (:slynk
|
||||||
|
:radiance
|
||||||
|
:i-log4cl
|
||||||
:r-clip
|
:r-clip
|
||||||
:cl-json
|
:cl-json
|
||||||
:dexador
|
:dexador
|
||||||
|
|
@ -17,7 +19,11 @@
|
||||||
:r-data-model
|
:r-data-model
|
||||||
:cl-fad
|
:cl-fad
|
||||||
:local-time
|
:local-time
|
||||||
:taglib)
|
:taglib
|
||||||
|
(:interface :database)
|
||||||
|
:r-data-model
|
||||||
|
(:interface :user))
|
||||||
|
|
||||||
:pathname "./"
|
:pathname "./"
|
||||||
:components ((:file "app-utils")
|
:components ((:file "app-utils")
|
||||||
(:file "module")
|
(:file "module")
|
||||||
|
|
|
||||||
|
|
@ -310,9 +310,12 @@
|
||||||
(format t "~%Received interrupt, stopping server...~%")
|
(format t "~%Received interrupt, stopping server...~%")
|
||||||
(stop-server))))
|
(stop-server))))
|
||||||
|
|
||||||
(defun -main (&optional args)
|
(defun -main (&optional args (debug t))
|
||||||
(declare (ignorable args))
|
(declare (ignorable args))
|
||||||
|
(format t "~&args of asteroid: ~A~%" args)
|
||||||
(format t "~%🎵 ASTEROID RADIO - Music for Hackers 🎵~%")
|
(format t "~%🎵 ASTEROID RADIO - Music for Hackers 🎵~%")
|
||||||
(format t "Starting RADIANCE web server...~%")
|
(format t "Starting RADIANCE web server...~%")
|
||||||
|
(when debug
|
||||||
|
(slynk:create-server :port 4009 :dont-close t))
|
||||||
(run-server))
|
(run-server))
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -23,3 +23,4 @@
|
||||||
(track-ids :text))))
|
(track-ids :text))))
|
||||||
|
|
||||||
(format t "Database collections initialized~%"))
|
(format t "Database collections initialized~%"))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue