aboutsummaryrefslogtreecommitdiff
path: root/src/SYSTEM.lisp
diff options
context:
space:
mode:
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")