-
Notifications
You must be signed in to change notification settings - Fork 0
/
install-pel.el
33 lines (25 loc) · 991 Bytes
/
install-pel.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
;;; install-pel.el --- Install PEL locally -*-lexical-binding: t-*-
;;; Commentary:
;;
;; This file provides tools used to install the PEL package.
;; The commands are meant to be executed from the command line via PEL's
;; Makefile.
(require 'package-x)
(require 'pel--base)
;;; Code:
(defun upload-pel-to-local-archive ()
"Upload the distributable PEL package tar file to pelpa.
pelpa is the local elpa-compliant Emacs package archive directory.
It should have been created by a call to `pel-create-pelpa'."
(interactive)
(let ((package-archive-upload-base
(expand-file-name "./pelpa")))
(if (fboundp 'package-upload-file)
(package-upload-file
(expand-file-name
(format "./out/pel-%s.tar" (pel-version))))
(error
"Unknown function: package-upload-file (should be part of package-x)"))))
;; -----------------------------------------------------------------------------
(provide 'install-pel)
;;; install-pel.el ends here