Skip to content

Commit

Permalink
Use carton to setup test environment
Browse files Browse the repository at this point in the history
  • Loading branch information
tkf committed Oct 17, 2012
1 parent 79150fe commit d5e33c6
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -1 +1,2 @@
env env
elpa
7 changes: 7 additions & 0 deletions Carton
@@ -0,0 +1,7 @@
(source "marmalade" "http://marmalade-repo.org/packages/")

(package "jedi" "0" "A Python auto-completion for Emacs")

(development
(depends-on "epc")
(depends-on "auto-complete"))
12 changes: 12 additions & 0 deletions Makefile
@@ -1,4 +1,16 @@
ENV = env ENV = env
CARTON = carton
EMACS = emacs

test: elpa _env
EMACS=${EMACS} ${CARTON} exec ${EMACS} -batch \
-L . -l test-jedi.el -f ert-run-tests-batch-and-exit

elpa:
${CARTON} install

clean-elpa:
rm -rf elpa


serve: serve:
@$(ENV)/bin/python jediepcserver.py @$(ENV)/bin/python jediepcserver.py
Expand Down

0 comments on commit d5e33c6

Please sign in to comment.