Skip to content

Instantly share code, notes, and snippets.

@nlamirault
Created April 17, 2014 10:48
Show Gist options
  • Save nlamirault/10973270 to your computer and use it in GitHub Desktop.
Save nlamirault/10973270 to your computer and use it in GitHub Desktop.
Cerbere without cerbere-tox compilation
$ make clean build
cask clean-elc
rm -fr dist
cask exec emacs --no-site-file --no-site-lisp --batch \
--debug-init -L . \
-f batch-byte-compile cerbere-common.el
Wrote /home/nlamirault/Perso/cerbere/cerbere-common.elc
cask exec emacs --no-site-file --no-site-lisp --batch \
--debug-init -L . \
-f batch-byte-compile cerbere-gotest.el
Wrote /home/nlamirault/Perso/cerbere/cerbere-gotest.elc
cask exec emacs --no-site-file --no-site-lisp --batch \
--debug-init -L . \
-f batch-byte-compile cerbere-phpunit.el
Wrote /home/nlamirault/Perso/cerbere/cerbere-phpunit.elc
cask exec emacs --no-site-file --no-site-lisp --batch \
--debug-init -L . \
-f batch-byte-compile cerbere-tox.el
Wrote /home/nlamirault/Perso/cerbere/cerbere-tox.elc
cask exec emacs --no-site-file --no-site-lisp --batch \
--debug-init -L . \
-f batch-byte-compile cerbere.el
Wrote /home/nlamirault/Perso/cerbere/cerbere.elc
$ make test
cask exec emacs -Q --debug-init -L . --eval "(require 'python)" --batch -l test/run-tests
Running tests on Emacs 24.4.50.1
Load cerbere : /home/nlamirault/Perso/cerbere
Loading /home/nlamirault/Perso/cerbere/cerbere.elc...
Running 9 tests (2014-04-17 12:48:59+0200)
cerbere.el Cask version: 0.1.0
passed 1/9 cerbere-mode-library-version
passed 2/9 test-cerbere-phpunit-get-current-class
passed 3/9 test-cerbere-phpunit-get-program-without-args
passed 4/9 test-go-test-add-verbose-argument
passed 5/9 test-go-test-get-program-without-args
passed 6/9 test-phpunit-add-stop-on-error-argument
passed 7/9 test-phpunit-add-stop-on-failure-argument
passed 8/9 test-phpunit-add-stop-on-skipped-argument
passed 9/9 test-phpunit-add-verbose-argument
Ran 9 tests, 9 results as expected (2014-04-17 12:48:59+0200)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment