irony-mode recipe, add comments and build Release executable

As noted in #1460 it is highly unusual to have both `:build` and `:compile` specified. Add an explanation.
This commit is contained in:
Guillaume Papin 2013-12-05 11:16:35 +01:00
parent c9c4de0b64
commit af8cbbda4d

View File

@ -4,8 +4,11 @@
:type github
:branch "develop"
:pkgname "Sarcasm/irony-mode"
;; The :compile property only builds irony-server which is the C++ part
;; of irony-mode. A separate :compile property is needed to build the
;; elisp interface.
:build (("mkdir -p build")
("cd build && cmake ..")
("(cd build && cmake -DCMAKE_BUILD_TYPE=Release ..)")
("make -j5 -C build install"))
:load-path "elisp"
:compile ("elisp/" "elisp/irony/"))
:compile ("elisp/" "elisp/irony/")
:load-path "elisp")