[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/phpinspect da2570d355 4/4: Update README with install/b
From: |
ELPA Syncer |
Subject: |
[elpa] externals/phpinspect da2570d355 4/4: Update README with install/build instructions |
Date: |
Sun, 20 Aug 2023 12:58:40 -0400 (EDT) |
branch: externals/phpinspect
commit da2570d355e6b8a81a4955fe2717132764a7be63
Author: Hugo Thunnissen <devel@hugot.nl>
Commit: Hugo Thunnissen <devel@hugot.nl>
Update README with install/build instructions
---
README.md | 15 +++++++++++++--
1 file changed, 13 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index e695c85988..d3d6f77bdc 100644
--- a/README.md
+++ b/README.md
@@ -65,10 +65,12 @@ configuration to get the most out of phpinspect is the
following:
(add-hook 'php-mode-hook #'my-php-personal-hook)
```
-## Install
+## Install from git
```bash
git clone https://git.snorba.art/hugo/phpinspect.el ~/projects/phpinspect.el
+cd ~/projects/phpinspect.el
+make
```
```elisp
@@ -124,10 +126,19 @@ Elapsed time: 0.013878 (0.000000 in 0 GC’s)
## Development
+### Building
+
+```bash
+make
+```
+
### Running tests
Tests are implemented using `ert`. You can run them in batch mode with the
following
command:
```bash
-emacs -L ./ -batch -l ert -l ./phpinspect.el -l ./test/phpinspect-test.el -f
ert-run-tests-batch-and-exit
+make test
+
+# or:
+emacs -L ./ -batch -l ert -l ./test/phpinspect-test.el -f
ert-run-tests-batch-and-exit
```