Difference between revisions of "Eproject.el"
Jump to navigation
Jump to search
(Initial entry) |
m |
||
(One intermediate revision by one other user not shown) | |||
Line 12: | Line 12: | ||
== Configuration == | == Configuration == | ||
− | < | + | <source lang="lisp"> |
(require 'eproject) | (require 'eproject) | ||
(require 'eproject-compile) | (require 'eproject-compile) | ||
Line 34: | Line 34: | ||
(generic) | (generic) | ||
(look-for "manifest.json")) | (look-for "manifest.json")) | ||
− | </ | + | </source> |
Now when a file is opened that is in the tree for one of these definitions you will find it both in {{minor-mode|eproject}} and a buffer local variable {{Variable|eproject-root}} defined. | Now when a file is opened that is in the tree for one of these definitions you will find it both in {{minor-mode|eproject}} and a buffer local variable {{Variable|eproject-root}} defined. | ||
[[Category:Third Party Package]] | [[Category:Third Party Package]] | ||
+ | [[Category:Project Management]] |
Latest revision as of 17:41, 4 April 2012
Description | Yet another project management frame-work |
---|---|
Author | name of author |
Maintainer | Jonathan Rockway |
Source | https://github.com/jrockway/eproject |
Note: there is another package also called eproject
The eproject package allows you to define project definitions in Emacs which then will get automatically associated when you open files.
Configuration
(require 'eproject)
(require 'eproject-compile)
(define-project-type debian-package
(generic)
(look-for "debian")
:common-compiles ("dpkg-buildpackage -rfakeroot"))
(define-project-type android-package
(generic)
(look-for "AndroidManifest.xml")
:common-compiles ("ant compile"))
(define-project-type rockbox
(generic-git)
(look-for "../rockbox.git/rbutil")
:common-compiles ("make" "make install" "make fullzip"))
(define-project-type chrome-extension
(generic)
(look-for "manifest.json"))
Now when a file is opened that is in the tree for one of these definitions you will find it both in Template:Minor-mode and a buffer local variable eproject-root defined.