aboutsummaryrefslogtreecommitdiff
path: root/src/SYSTEM.lisp
diff options
context:
space:
mode:
authorTristan Williams <tgwil@tgwil.net>2024-10-27 22:15:12 -0400
committerTristan Williams <tgwil@tgwil.net>2024-10-27 22:15:12 -0400
commit6ad840ed600bebfe4801b045a2bb24abb848b54e (patch)
tree08c6694fabc0d05b124f8360246400b948ed5e9e /src/SYSTEM.lisp
downloadtemplate.cl-6ad840ed600bebfe4801b045a2bb24abb848b54e.tar.gz
template.cl-6ad840ed600bebfe4801b045a2bb24abb848b54e.tar.bz2
template.cl-6ad840ed600bebfe4801b045a2bb24abb848b54e.zip
Add everything
I've already been working on a CL template. Just add the fucker.
Diffstat (limited to 'src/SYSTEM.lisp')
-rw-r--r--src/SYSTEM.lisp26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/SYSTEM.lisp b/src/SYSTEM.lisp
new file mode 100644
index 0000000..468645a
--- /dev/null
+++ b/src/SYSTEM.lisp
@@ -0,0 +1,26 @@
1;;;; SYSTEM.lisp
2;;;; Entrypoint for SYSTEM
3;;;; AUTHOR:
4
5;; ---------------------------------------------------------------------
6;;; Package Definition
7;; ---------------------------------------------------------------------
8(defpackage :SYSTEM
9 (:use #:common-lisp)
10 (:export #:entrypoint
11 #:*version*))
12
13(in-package :SYSTEM)
14
15(defparameter *version* (with-output-to-string
16 (*standard-output*)
17 (uiop:run-program "git rev-parse --short HEAD" :output t)))
18
19
20;; ---------------------------------------------------------------------
21;;; Entrypoint
22;; ---------------------------------------------------------------------
23(defun entrypoint ()
24 "Entrypoint for SYSTEM."
25 (format t "SYSTEM Version: ~A" *version*)
26 "SYSTEM")