Skip to content

Commit

Permalink
[REF] Drop Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
KeyWeeUsr committed Nov 27, 2024
1 parent c27912b commit 2a2d8ca
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 51 deletions.
21 changes: 21 additions & 0 deletions Eldev
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,24 @@
;(eldev-use-package-archive 'melpa)

(eldev-use-plugin 'autoloads)

(eldev-defcommand tag (tag)
"Make a new tag"
:parameters "TAG"
(unless tag
(signal 'eldev-wrong-command-usage))
(let ((name "typewriter-roll-mode.el")
(buff (get-buffer-create "*output*")))
(when (< 0 (call-process "git" nil buff nil "add" "-f" "."))
(eldev-output (with-current-buffer buff (buffer-string)))
(error "Failed to add files"))
(when (< 0 (call-process "git" nil buff nil "stash"))
(eldev-output (with-current-buffer buff (buffer-string)))
(error "Failed to stash files"))
(with-temp-buffer
(insert-file-contents name)
(goto-char (point-min))
(re-search-forward tag))
(when (< 0 (call-process "git" nil buff nil "tag" tag "--sign"))
(eldev-output (with-current-buffer buff (buffer-string)))
(error "Failed to tag and sign"))))
49 changes: 0 additions & 49 deletions Makefile

This file was deleted.

2 changes: 0 additions & 2 deletions compile-setup

This file was deleted.

0 comments on commit 2a2d8ca

Please sign in to comment.