This commit is contained in:
@@ -20,5 +20,19 @@
|
||||
(deps clean)
|
||||
(zip-package))
|
||||
|
||||
(target housekeeping
|
||||
(displayln "Committing changes for:")
|
||||
(let ((changes (git 'status)))
|
||||
(when (> (length changes) 0)
|
||||
(dgit 'status)
|
||||
(displayln "Adding...")
|
||||
(dgit 'add '-A)
|
||||
(displayln "Committing...")
|
||||
(dgit 'commit (git-prompt))
|
||||
(displayln "Pushing...")
|
||||
(dgit 'push)))
|
||||
)
|
||||
|
||||
(target main
|
||||
(deps housekeeping)
|
||||
(git 'switch "main"))
|
||||
Reference in New Issue
Block a user