[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/projectile 6838628724 3/3: Document how to use the new pro
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/projectile 6838628724 3/3: Document how to use the new project type overrides |
Date: |
Tue, 4 Oct 2022 09:59:04 -0400 (EDT) |
branch: elpa/projectile
commit 683862872462c1c3c68fa41e370817399c15f836
Author: Laurence Warne <laurencewarne@gmail.com>
Commit: Bozhidar Batsov <bozhidar@batsov.dev>
Document how to use the new project type overrides
---
CHANGELOG.md | 1 +
doc/modules/ROOT/pages/projects.adoc | 7 ++++++-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5b4917a1aa..272f4fc75a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -13,6 +13,7 @@
* [#1718](https://github.com/bbatsov/projectile/issues/1718): Add a project
type definition for `GNUMakefile`.
* [#1747](https://github.com/bbatsov/projectile/pull/1747): Add support for
preset-based install-commands for CMake projects.
* [#1768](https://github.com/bbatsov/projectile/pull/1768) Add support for
disabling command caching on a per-project basis.
+* [#1797](https://github.com/bbatsov/projectile/pull/1797) Make all project
type attributes locally overridable
### Bugs fixed
diff --git a/doc/modules/ROOT/pages/projects.adoc
b/doc/modules/ROOT/pages/projects.adoc
index 280dc8aff1..80e86a8e07 100644
--- a/doc/modules/ROOT/pages/projects.adoc
+++ b/doc/modules/ROOT/pages/projects.adoc
@@ -754,7 +754,7 @@ you e.g. test a command-line program with
`projectile-run-project`.
(setq projectile-comint-mode t)
----
-== Configure a Project's Lifecycle Commands
+== Configure a Project's Lifecycle Commands and Other Attributes
There are a few variables that are intended to be customized via
`.dir-locals.el`.
@@ -764,6 +764,11 @@ There are a few variables that are intended to be
customized via `.dir-locals.el
* for installation - `projectile-project-install-cmd`
* for packaging - `projectile-project-package-cmd`
* for running - `projectile-project-run-cmd`
+* for configuring the test prefix - `projectile-project-test-prefix`
+* for configuring the test suffix - `projectile-project-test-suffix`
+* for configuring the related-files-fn property -
`projectile-project-related-files-fn`
+* for configuring the src-dir property - `projectile-project-src-dir`
+* for configuring the test-dir property - `projectile-project-test-dir`
When these variables have their default value of `nil`, Projectile
runs the default command for the current project type. You can