little marmalade helper script
This commit is contained in:
parent
c569afa099
commit
dddfa2869d
1 changed files with 14 additions and 0 deletions
14
make-marmalade-pkg.sh
Executable file
14
make-marmalade-pkg.sh
Executable file
|
@ -0,0 +1,14 @@
|
|||
#!/bin/sh
|
||||
|
||||
VERSION=$(grep Version: emstar.el | sed 's|^;;[ ]*Version:[ ]*\(.*\)$|\1|g')
|
||||
|
||||
mkdir -p emstar-$VERSION/
|
||||
cat <<EOF > emstar-$VERSION/emstar-pkg.el
|
||||
(define-package "emstar" "$VERSION"
|
||||
"Play Emstar in emacs.")
|
||||
EOF
|
||||
|
||||
cp -R emstar-levels emstar.el emstar-$VERSION/
|
||||
|
||||
tar cf emstar-$VERSION{.tar,}
|
||||
rm -fr emstar-$VERSION/
|
Loading…
Add table
Reference in a new issue