Skip to content

Commit

Permalink
Merge pull request #637 from t-sin/feature/sdl2-frontend-launcher-script
Browse files Browse the repository at this point in the history
Add a launcher script for SDL2 frontend for roswell users
  • Loading branch information
cxxxr authored May 27, 2023
2 parents 2170cce + 0c9abb5 commit b88e86f
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions roswell/lem-sdl2.ros
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/bin/sh
#|-*- mode:lisp -*-|#
#| lem launcher for SDL2 frontend
exec ros -Q -m lem-sdl2 -L sbcl-bin -- $0 "$@"
|#
(progn
(unless (find-package :lem)
(ql:quickload :lem-sdl2 :silent t)
(uiop:symbol-call :lem :load-site-init))
(when (find :roswell.dump.executable *features*)
(mapc (lambda (x)
(load x :verbose t))
(directory (merge-pathnames "scripts/build/*.lisp"
(asdf/system:system-source-directory :lem))))))

(defpackage :ros.script.lem-sdl2.3891688398
(:use :cl))
(in-package :ros.script.lem-sdl2.3891688398)

(defun main (&rest argv)
(apply #'lem:lem argv))
;;; vim: set ft=lisp lisp:

0 comments on commit b88e86f

Please sign in to comment.