simple executable, only hello world
This commit is contained in:
@@ -0,0 +1 @@
|
||||
lspack
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
(require :asdf)
|
||||
|
||||
#+sb-core-compression
|
||||
(defmethod asdf:perform ((o asdf:image-op) (c asdf:system))
|
||||
(uiop:dump-image (asdf:output-file o c)
|
||||
:executable t
|
||||
:compression t))
|
||||
|
||||
(asdf:load-asd "lspack.asd")
|
||||
(asdf:load-system "lspack/exe")
|
||||
|
||||
(asdf:make "lspack/exe")
|
||||
|
||||
(quit)
|
||||
@@ -10,3 +10,11 @@
|
||||
(:file "util")
|
||||
(:file "license")
|
||||
(:file "starter")))
|
||||
|
||||
(defsystem "lspack/exe"
|
||||
:depends-on ("lspack")
|
||||
:build-operation program-op
|
||||
:build-pathname "lspack"
|
||||
:entry-point "lspack/exe:main"
|
||||
:components ((:file "src/main")))
|
||||
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
(defpackage :lspack/exe
|
||||
(:use :cl)
|
||||
(:export #:main))
|
||||
|
||||
(in-package :lspack/exe)
|
||||
|
||||
(defun main ()
|
||||
(format t "Hello World!"))
|
||||
Reference in New Issue
Block a user