oke.
This commit is contained in:
+13
-2
@@ -13,8 +13,19 @@
|
|||||||
(let ((line (read-line)))
|
(let ((line (read-line)))
|
||||||
(set! line (string-trim line))
|
(set! line (string-trim line))
|
||||||
(run '(git add -A))
|
(run '(git add -A))
|
||||||
(run (append '(git "commit" -m ) (list line))))
|
(run (append '(git "commit" -m ) (list line)))
|
||||||
|
(run '(git push))
|
||||||
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
(target push
|
||||||
|
(run '(git push)))
|
||||||
|
|
||||||
|
(target status
|
||||||
|
(run '(git status)))
|
||||||
|
|
||||||
|
(target pull
|
||||||
|
(run '(git pull)))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -141,7 +141,8 @@
|
|||||||
|
|
||||||
(define (list-dir/files directory regexp #:recursive [recursive #f])
|
(define (list-dir/files directory regexp #:recursive [recursive #f])
|
||||||
(filter (lambda (path)
|
(filter (lambda (path)
|
||||||
(regexp-match? regexp path))
|
(let ((fn (file-name-from-path path)))
|
||||||
|
(regexp-match? regexp fn)))
|
||||||
(if recursive
|
(if recursive
|
||||||
(for/list ([path (in-directory directory)])
|
(for/list ([path (in-directory directory)])
|
||||||
path)
|
path)
|
||||||
|
|||||||
Reference in New Issue
Block a user