mirror of
https://github.com/correl/melpa.git
synced 2024-11-15 03:00:14 +00:00
Rewrite buildpkg in Elisp.
This commit is contained in:
parent
39c1577eb1
commit
eae526d265
1 changed files with 7 additions and 10 deletions
17
buildpkg
17
buildpkg
|
@ -1,13 +1,10 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env emacs --script
|
||||
|
||||
# (load-file "~/.emacs.d/elisp/package-build.el")
|
||||
# (package-build-archive
|
||||
|
||||
for pkg in $@; do
|
||||
echo "Building package: $pkg"
|
||||
emacs --batch -l package-build.el --eval "(package-build-archive \"$pkg\")"
|
||||
echo
|
||||
echo
|
||||
done
|
||||
(add-to-list 'load-path (file-name-directory load-file-name))
|
||||
|
||||
(require 'package-build)
|
||||
|
||||
(mapc
|
||||
(lambda (package)
|
||||
(package-build-archive package))
|
||||
argv)
|
||||
|
|
Loading…
Reference in a new issue