mirror of
https://github.com/dimitri/el-get.git
synced 2024-09-29 04:58:53 +08:00
1fb104010c
This makes it easier to run tests interactively and inspect the results afterward, because the variables such as "el-get-sources" that were set for the tests are still bound to the values they had during the test.
19 lines
424 B
EmacsLisp
19 lines
424 B
EmacsLisp
;; https://github.com/dimitri/el-get/issues/541
|
|
;;
|
|
;; Pass load-path to byte-compiling child process
|
|
|
|
(setq debug-on-error t
|
|
el-get-verbose t)
|
|
|
|
(el-get 'sync 'js2-mode)
|
|
|
|
(setq compiled-file
|
|
(concat
|
|
(file-name-as-directory
|
|
(el-get-package-directory 'js2-mode))
|
|
"js2-mode.elc"))
|
|
|
|
(if (file-exists-p compiled-file)
|
|
(message "Byte-compiling succeeded.")
|
|
(error "Byte-compiling failed."))
|