mirror of
https://github.com/roswell/roswell.git
synced 2026-09-10 07:16:17 -04:00
`ros list git` shows projects installed with git.
This commit is contained in:
parent
8aa962ce21
commit
c4f43f796e
10
lisp/list-git.lisp
Normal file
10
lisp/list-git.lisp
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
(defpackage :roswell.list.git
|
||||
(:use :cl :roswell.util))
|
||||
(in-package :roswell.list.git)
|
||||
|
||||
(defun git (&rest r)
|
||||
(declare (ignore r))
|
||||
(let* ((* (directory (merge-pathnames "**/.git/" (first ql:*local-project-directories*))))
|
||||
(* (mapcar (lambda (x) (directory (merge-pathnames "../*.asd" x))) *))
|
||||
(* (apply #'append *)))
|
||||
(format t "~{~A~%~}" (mapcar #'pathname-name *))))
|
||||
Loading…
Reference in a new issue