]> git.eshelyaron.com Git - emacs.git/commitdiff
Initial checkin
authorPhillip Lord <phillip.lord@russet.org.uk>
Thu, 8 Mar 2018 18:57:00 +0000 (18:57 +0000)
committerPhillip Lord <phillip.lord@russet.org.uk>
Thu, 8 Mar 2018 18:57:00 +0000 (18:57 +0000)
.gitignore
elpa/Makefile.in [new file with mode: 0644]
elpa/bin/deploy-elpa [new file with mode: 0644]
lisp/elpa/.keep [new file with mode: 0644]
test/lisp/elpa/.keep [new file with mode: 0644]

index d3712b0d6cf521058a54797b9a25da7a2eb26b69..24dafc84860dbc0bd7102440cac480ddb91d204a 100644 (file)
@@ -278,3 +278,10 @@ nt/emacs.rc
 nt/emacsclient.rc
 src/gdb.ini
 /var/
+
+/elpa/repo/
+/elpa/working/
+/lisp/elpa
+/test/lisp/elpa
+!/lisp/elpa/.keep
+!/test/lisp/elpa/.keep
\ No newline at end of file
diff --git a/elpa/Makefile.in b/elpa/Makefile.in
new file mode 100644 (file)
index 0000000..411370a
--- /dev/null
@@ -0,0 +1,12 @@
+repo:
+       git clone --mirror https://git.savannah.gnu.org/git/emacs/elpa.git repo
+
+repo-update:
+       cd repo;git fetch --all
+
+pabbrev:
+       - mkdir pabbrev
+       cd repo;git archive d28cf8632d2691dc93afbb28500126242d37961c | tar xv --directory ../pabbrev
+       cp pabbrev/pabbrev.el ../lisp/elpa/
+
+.PHONY: pabbrev
diff --git a/elpa/bin/deploy-elpa b/elpa/bin/deploy-elpa
new file mode 100644 (file)
index 0000000..5a0c530
--- /dev/null
@@ -0,0 +1,22 @@
+#!/bin/bash
+
+shopt -s extglob
+
+generate_source(){
+    git_treeish = $1
+    package_name = $2
+
+    mkdir working/$package_name
+
+    cd repo
+    git archive $i | tar xv --directory ../working/$package_name
+}
+
+deploy_source(){
+    package_name = $1
+
+    cd working/$package_name
+    cp *!(test)*.el ../../lisp/elpa
+    cp *.texi ../../doc/elpa
+    cp *test*.el ../../test/lisp/elpa
+}
diff --git a/lisp/elpa/.keep b/lisp/elpa/.keep
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/test/lisp/elpa/.keep b/test/lisp/elpa/.keep
new file mode 100644 (file)
index 0000000..e69de29