branch: elpa/zig-mode
commit f26f5d07a9e815bbf41a5410827c9544ade5f71b
Author: Matthew D. Steele <[email protected]>
Commit: Matthew D. Steele <[email protected]>
Add "Testing" and "License" sections to README.md
---
README.md | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/README.md b/README.md
index 28b851c..5060aa8 100644
--- a/README.md
+++ b/README.md
@@ -20,3 +20,29 @@ Alternatively, you can `git clone` the `zig-mode` repository
somewhere
(autoload 'zig-mode "zig-mode" nil t)
(add-to-list 'auto-mode-alist '("\\.zig\\'" . zig-mode)))
```
+
+## Testing
+
+[](https://ci.appveyor.com/project/mdsteele/zig-mode)
+
+To run all unit tests with `emacs`, run:
+
+```bash
+./run_tests.sh
+```
+
+Note that Emacs 24 or later is required. If you need to specify which Emacs
+binary to use, you can do that by setting the `EMACS` environment variable,
+e.g.:
+
+```bash
+EMACS=/usr/bin/emacs24 ./run_tests.sh
+```
+
+## License
+
+`zig-mode` is distributed under the terms of the GNU General Public License as
+published by the Free Software Foundation; either version 3, or (at your
+option) any later version.
+
+See the [LICENSE](LICENSE) file for details.