[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 12/119: compiling to .elc
From: |
Eric Schulte |
Subject: |
[elpa] 12/119: compiling to .elc |
Date: |
Mon, 10 Mar 2014 16:57:01 +0000 |
eschulte pushed a commit to branch master
in repository elpa.
commit 55cf8ef4dfc6f690bc6ffda06e2ce6b3a8ed545b
Author: Eric Schulte <address@hidden>
Date: Wed Dec 18 14:23:33 2013 -0700
compiling to .elc
---
.gitignore | 1 +
Makefile | 13 +++++++++++++
emacs-web-server.el | 1 +
3 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..c531d98
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+*.elc
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..0520044
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,13 @@
+EMACS := emacs
+BATCH=$(EMACS) --batch --execute '(add-to-list (quote load-path) "$(shell
pwd)")'
+
+SRC=$(wildcard *.el)
+ELC=$(SRC:.el=.elc)
+
+all: src
+
+src: $(SRC)
+ $(BATCH) -f batch-byte-compile $^
+
+clean:
+ rm -f $(ELC)
diff --git a/emacs-web-server.el b/emacs-web-server.el
index 46ae4b8..dbeaf01 100644
--- a/emacs-web-server.el
+++ b/emacs-web-server.el
@@ -10,6 +10,7 @@
(require 'emacs-web-server-status-codes)
(require 'mail-parse)
(require 'eieio)
+(eval-when-compile (require 'cl))
(require 'cl-lib)
(defclass ews-server ()
- [elpa] 01/119: initial commit, echo server working, (continued)
- [elpa] 01/119: initial commit, echo server working, Eric Schulte, 2014/03/10
- [elpa] 04/119: simple hello world server working, Eric Schulte, 2014/03/10
- [elpa] 05/119: stub out (but don't write any) tests, Eric Schulte, 2014/03/10
- [elpa] 08/119: NOTES file for tasks and notes, Eric Schulte, 2014/03/10
- [elpa] 07/119: TODO: handle post data, Eric Schulte, 2014/03/10
- [elpa] 06/119: helper for HTTP headers, Eric Schulte, 2014/03/10
- [elpa] 09/119: parsing form data in POST, Eric Schulte, 2014/03/10
- [elpa] 11/119: more flexible network process creation, Eric Schulte, 2014/03/10
- [elpa] 10/119: some simple examples, Eric Schulte, 2014/03/10
- [elpa] 15/119: more lenient parsing of multipart forms, Eric Schulte, 2014/03/10
- [elpa] 12/119: compiling to .elc,
Eric Schulte <=
- [elpa] 13/119: tasks, Eric Schulte, 2014/03/10
- [elpa] 18/119: 404 not found helper, Eric Schulte, 2014/03/10
- [elpa] 17/119: handling errors, Eric Schulte, 2014/03/10
- [elpa] 14/119: better requirements for test, Eric Schulte, 2014/03/10
- [elpa] 16/119: tasks, Eric Schulte, 2014/03/10
- [elpa] 20/119: don't require non-nil return to close connection, Eric Schulte, 2014/03/10
- [elpa] 19/119: simply (name . content) for form elements, Eric Schulte, 2014/03/10
- [elpa] 21/119: helper to send a file with mime type, Eric Schulte, 2014/03/10
- [elpa] 22/119: file serving example, Eric Schulte, 2014/03/10
- [elpa] 23/119: handle close-connection thrown during header parse, Eric Schulte, 2014/03/10