Skip to content

Instantly share code, notes, and snippets.

@nlamirault
Created April 17, 2014 08:37
Show Gist options
  • Save nlamirault/10965164 to your computer and use it in GitHub Desktop.
Save nlamirault/10965164 to your computer and use it in GitHub Desktop.
$ ls .cask/24.4.50.1/elpa/
ansi-20130827.753 epl-20140405.51 pkg-info-20140405.50
archives ert-runner-20140121.1045 python-mode-6.1.3
cask-20140324.15 f-20140220.21 s-20131223.944
commander-20140120.1052 go-mode-20140409.928 shut-up-20140211.521
dash-20140407.253 package-build-20140404.854
$ cask files
cerbere-common.el
cerbere-tox.el
cerbere-phpunit.el
cerbere-gotest.el
cerbere.el
cat Cask
;;; Scame Cask file
(source "melpa" "http://melpa.milkbox.net/packages/")
(source "gnu" "http://elpa.gnu.org/packages/")
(source "marmalade" "http://marmalade-repo.org/packages/")
(package "cerbere" "0.1.0" "TDD mode for Emacs")
(files "cerbere-common.el"
"cerbere-tox.el"
"cerbere-phpunit.el"
"cerbere-gotest.el"
"cerbere.el")
(depends-on "s")
(depends-on "f")
(depends-on "go-mode")
(depends-on "pkg-info")
(depends-on "python-mode")
;; Development
(development
(depends-on "cask")
(depends-on "ert")
(depends-on "ert-runner"))
$ cask --debug build
Compiling /home/nlamirault/Perso/cerbere/cerbere-common.el...
Wrote /home/nlamirault/Perso/cerbere/cerbere-common.elc
Compiling /home/nlamirault/Perso/cerbere/cerbere-tox.el...
In toplevel form:
cerbere-tox.el:27:1:Error: Cannot open load file: No such file or directory, python-mode
Compiling /home/nlamirault/Perso/cerbere/cerbere-phpunit.el...
Wrote /home/nlamirault/Perso/cerbere/cerbere-phpunit.elc
Compiling /home/nlamirault/Perso/cerbere/cerbere-gotest.el...
In toplevel form:
cerbere-gotest.el:26:1:Error: Symbol's value as variable is void: cerbere-common
Compiling /home/nlamirault/Perso/cerbere/cerbere.el...
In toplevel form:
cerbere.el:30:1:Error: Cannot open load file: No such file or directory, pkg-info
@nlamirault
Copy link
Author

$ make build
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

In toplevel form:
cerbere.el:37:1:Error: Too many arguments
make: *** [cerbere.elc] Error 1

$ sed -n '37p;' cerbere.el
(require 'cerbere-tox)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment