Skip to content

Commit

Permalink
Document how to use the new project type overrides
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurenceWarne authored and bbatsov committed Oct 4, 2022
1 parent 3d7a319 commit 6838628
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
7 changes: 6 additions & 1 deletion doc/modules/ROOT/pages/projects.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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`.

Expand All @@ -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
Expand Down

0 comments on commit 6838628

Please sign in to comment.