branch: externals/ebdb
commit 762f0279ce02fb19186bc5001e36a5f6a12df3fa
Author: Eric Abrahamsen <[email protected]>
Commit: Eric Abrahamsen <[email protected]>
Add Makefile
* Makefile: World's dumbest Makefile, and it doesn't even work: byte
compilation fails because it relies on external packages, and
tests in ebdb-i18n-test.el fail for the same reason. At least the
main tests run.
---
Makefile | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..9b059ab
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,15 @@
+# I have no idea how Makefiles work, and cribbed from the internet
+# just enough so I had something I could use for automating testing.
+
+EMACS=emacs
+
+.PHONY: all test clean
+
+all:
+ ${EMACS} -Q --batch -L . -f batch-byte-compile *.el
+
+test:
+ ${EMACS} -Q --batch -L . -l ert -l ebdb-test.el -f
ert-run-tests-batch-and-exit
+
+clean:
+ rm *.elc