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

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

[nongnu] elpa/buttercup ab2a558 111/340: Add projectile integration info


From: ELPA Syncer
Subject: [nongnu] elpa/buttercup ab2a558 111/340: Add projectile integration info to Readme
Date: Thu, 16 Dec 2021 14:59:15 -0500 (EST)

branch: elpa/buttercup
commit ab2a558bf5a591631173f0c5735f5d313550a0b6
Author: Erik Anderson <erikbpanderson@gmail.com>
Commit: GitHub <noreply@github.com>

    Add projectile integration info to Readme
    
    Example integration for projectile using dir-locals.
---
 docs/running-tests.md | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/docs/running-tests.md b/docs/running-tests.md
index ab8ed3a..bb77b9f 100644
--- a/docs/running-tests.md
+++ b/docs/running-tests.md
@@ -102,6 +102,20 @@ different pattern using the `--pattern` command line 
argument to the
 You can run this command whichever way you like. Common choices
 include a makefile or shell scripts.
 
+## Projectile
+
+If you use [Projectile](https://github.com/bbatsov/projectile) for interacting 
with your projects you can set the "default" project test command to be 
available when you invoke `projectile-test-project`.  Create a `.dir-locals.el` 
file in the the root of your project tree (next to your Cask file).  An example:
+
+**.dir-locals.el**
+
+```
+((nil . ((eval . (progn
+                   (require 'projectile)
+                   (puthash (projectile-project-root)
+                            "cask exec buttercup -L ."
+                            projectile-test-cmd-map))))))
+```
+
 ## Travis
 
 If your project is hosted on github, you can use



reply via email to

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