emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/projectile 31069dc: [Fix #1718] Add a project definition f


From: ELPA Syncer
Subject: [nongnu] elpa/projectile 31069dc: [Fix #1718] Add a project definition for GNUMakefile
Date: Tue, 16 Nov 2021 02:57:50 -0500 (EST)

branch: elpa/projectile
commit 31069dc31469e0d5cddb53126a2993432a22399b
Author: Hiraku Sugiura <hiraku.sugiura@gmail.com>
Commit: Bozhidar Batsov <bozhidar@batsov.dev>

    [Fix #1718] Add a project definition for GNUMakefile
    
    GNUMakefile is valid name for GNU Make.
    This patch add project definition to detects gnumake project from 
GNUMakefile.
---
 CHANGELOG.md  | 1 +
 projectile.el | 5 +++++
 2 files changed, 6 insertions(+)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index f3b90f4..d909756 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,6 +6,7 @@
 
 * [#1699](https://github.com/bbatsov/projectile/pull/1699): 
`projectile-ripgrep` now supports [`rg.el`](https://github.com/dajva/rg.el).
 * [#1712](https://github.com/bbatsov/projectile/issues/1712): Make it possible 
to hide Projectile's menu. See `projectile-show-menu`.
+* [#1718](https://github.com/bbatsov/projectile/issues/1718): Add a project 
definition for GNUMakefile.
 
 ### Bugs fixed
 
diff --git a/projectile.el b/projectile.el
index 750c9a6..049455a 100644
--- a/projectile.el
+++ b/projectile.el
@@ -3014,6 +3014,11 @@ a manual COMMAND-TYPE command is created with
                                   :compile "make"
                                   :test "make test"
                                   :install "make install")
+(projectile-register-project-type 'gnumake '("GNUMakefile")
+                                  :project-file "GNUMakefile"
+                                  :compile "make"
+                                  :test "make test"
+                                  :install "make install")
 (projectile-register-project-type 'cmake '("CMakeLists.txt")
                                   :project-file "CMakeLists.txt"
                                   :configure 
#'projectile--cmake-configure-command



reply via email to

[Prev in Thread] Current Thread [Next in Thread]