Added makefile.rkt
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
#lang racket
|
||||
|
||||
(require "main.rkt"
|
||||
racket/string)
|
||||
|
||||
(target all
|
||||
(displayln "use (make clean) or (make package) or (make commit/push")
|
||||
)
|
||||
|
||||
(target commit
|
||||
(display "commit message:")
|
||||
(flush-output)
|
||||
(let ((line (read-line)))
|
||||
(set! line (string-trim line))
|
||||
(run '(git add -A))
|
||||
(run (append '(git "commit" -m ) (list line))))
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user