branch: elpa/jade-mode
commit 2b4c25161f4083930113bfeead9eceeb42ae2dd1
Author: Matthew Conway <[email protected]>
Commit: Matthew Conway <[email protected]>
put jade-mode project under control of cask
---
.gitignore | 1 +
Cask | 4 +++-
Makefile | 2 +-
tests/highlight.el => test/highlight-test.el | 5 -----
tests/indentation.el => test/indentation-test.el | 0
5 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/.gitignore b/.gitignore
index c531d9867f..1304fa25e0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
*.elc
+/.cask/
diff --git a/Cask b/Cask
index 78617e02f7..21abb1ccf8 100644
--- a/Cask
+++ b/Cask
@@ -1,7 +1,9 @@
(source gnu)
(source melpa)
-(package-file "TODO")
+(package "jade-mode" "0.2.1" "Syntax hilighting and smart-tabs for jade html
language")
+
+;; (package-file "jade-mode.el")
(development
(depends-on "f")
diff --git a/Makefile b/Makefile
index 6ba9019f9d..6d1c66ddc9 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
test:
- emacs -batch -L . -l ./tests/highlight.el -l ./tests/indentation.el -f
ert-run-tests-batch-and-exit
+ cask exec ert-runner -l jade-mode.el
# Local Variables:
# indent-tabs-mode: t
diff --git a/tests/highlight.el b/test/highlight-test.el
similarity index 95%
rename from tests/highlight.el
rename to test/highlight-test.el
index 868d24d953..21e6fd4dd2 100644
--- a/tests/highlight.el
+++ b/test/highlight-test.el
@@ -1,6 +1,3 @@
-(require 'ert)
-(require 'jade-mode)
-
(ert-deftest jade-mode-command-should-be-bound ()
(with-temp-buffer
(should (fboundp 'jade-mode))
@@ -29,5 +26,3 @@
(should (=
(next-single-property-change (point) 'face)
(point-at-eol)))))
-
-
diff --git a/tests/indentation.el b/test/indentation-test.el
similarity index 100%
rename from tests/indentation.el
rename to test/indentation-test.el