;;;; SYSTEM.lisp ;;;; Entrypoint for SYSTEM ;;;; AUTHOR: ;; --------------------------------------------------------------------- ;;; Package Definition ;; --------------------------------------------------------------------- (defpackage :SYSTEM (:use #:common-lisp) (:export #:entrypoint #:*version*)) (in-package :SYSTEM) (defparameter *version* (with-output-to-string (*standard-output*) (uiop:run-program "git rev-parse --short HEAD" :output t))) ;; --------------------------------------------------------------------- ;;; Entrypoint ;; --------------------------------------------------------------------- (defun entrypoint () "Entrypoint for SYSTEM." (format t "SYSTEM Version: ~A" *version*) "SYSTEM")