mirror of
https://github.com/correl/calrissian.git
synced 2024-11-23 11:09:58 +00:00
Added version util funcs.
This commit is contained in:
parent
e0dbe6ff15
commit
e5ab919365
1 changed files with 10 additions and 1 deletions
|
@ -1,9 +1,18 @@
|
|||
(defmodule calrissian-util
|
||||
(export (module-info 1)
|
||||
(export (get-version 0)
|
||||
(get-versions 0)
|
||||
(module-info 1)
|
||||
(module-info 2)
|
||||
(implements? 2)
|
||||
(exports? 2)))
|
||||
|
||||
(defun get-version ()
|
||||
(lutil:get-app-version 'calrissian))
|
||||
|
||||
(defun get-versions ()
|
||||
(++ (lutil:get-versions)
|
||||
`(#(calrissian ,(get-version)))))
|
||||
|
||||
(defun module-info
|
||||
(((tuple module _args))
|
||||
;; Report exported function arities as (arity - 1) to account for
|
||||
|
|
Loading…
Reference in a new issue