mirror of
https://github.com/correl/melpa.git
synced 2025-03-07 04:45:08 -10:00
Merge pull request #38 from rejeep/buildpkg-in-elisp
Rewrite buildpkg in Elisp
This commit is contained in:
commit
1ea577ee4e
1 changed files with 4 additions and 10 deletions
14
buildpkg
14
buildpkg
|
@ -1,13 +1,7 @@
|
|||
#!/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 'package-build-archive argv)
|
||||
|
|
Loading…
Add table
Reference in a new issue