cfc55aea8bee

Initial commit
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Sun, 18 Apr 2021 13:25:26 -0400
parents
children ae5d604f978f
branches/tags (none)
files .hgignore .lispwords README.markdown build/.placeholder dark.asd scripts/build.sh src/main.lisp src/package.lisp

Changes

--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/.hgignore	Sun Apr 18 13:25:26 2021 -0400
@@ -0,0 +1,1 @@
+build/
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/README.markdown	Sun Apr 18 13:25:26 2021 -0400
@@ -0,0 +1,1 @@
+https://itch.io/jam/spring-lisp-game-jam-2021
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/dark.asd	Sun Apr 18 13:25:26 2021 -0400
@@ -0,0 +1,20 @@
+(asdf:defsystem :dark
+  :name "dark"
+  :description "Lisp Game Jam, Spring 2021"
+
+  :author "Steve Losh <steve@stevelosh.com>"
+
+  :license "MIT/X11"
+  :version "0.0.1"
+
+  :depends-on (#+sbcl #:sb-sprof
+               :alexandria
+               :beast
+               :boots
+               :iterate
+               :losh)
+
+  :serial t
+  :components ((:module "src" :serial t
+                :components ((:file "package")
+                             (:file "main")))))
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/scripts/build.sh	Sun Apr 18 13:25:26 2021 -0400
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+
+set -euo pipefail
+
+/usr/local/bin/sbcl \
+    --eval '(ql:quickload :dark)' \
+    --eval '(dark:build)' \
+    --disable-debugger --noinform
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/main.lisp	Sun Apr 18 13:25:26 2021 -0400
@@ -0,0 +1,10 @@
+(in-package :dark)
+
+(defun toplevel ()
+  (write-line "Hello, world!"))
+
+(defun build ()
+  (sb-ext:save-lisp-and-die "build/dark"
+    :executable t
+    :save-runtime-options t
+    :toplevel #'dark:toplevel))
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/package.lisp	Sun Apr 18 13:25:26 2021 -0400
@@ -0,0 +1,3 @@
+(defpackage :dark
+  (:use :cl :iterate :losh :beast)
+  (:export :toplevel :build))