Skip to content

Commit b3609fe

Browse files
committed
Add a Makefile
1 parent b9ac89f commit b3609fe

File tree

3 files changed

+12
-7
lines changed

3 files changed

+12
-7
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ jobs:
2222

2323
- name: Tests
2424
run: |
25-
bash ./test/tests.sh
25+
make test

CONTRIBUTING.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,14 @@ to add more features to it.
66
## Manpage
77

88
To update the manpage, edit `man/rfc.md` ([format documentation][format]), then
9-
run `ronn man/rfc.md`.
9+
run `make`.
1010

11-
You can install [`ronn`][ronn] with `gem install ronn`.
11+
You need [`ronn`][ronn]; install it with `gem install ronn-ng`.
1212

13-
[ronn]: https://github.com/rtomayko/ronn#ronn
13+
[ronn]: https://github.com/apjanke/ronn-ng?tab=readme-ov-file#ronn-ng
1414
[format]: https://rtomayko.github.io/ronn/ronn-format.7.html
1515

1616
## Tests
1717

18-
You can run tests with the following command:
19-
20-
./test/tests.sh
18+
Run tests with `make test`.
2119

Makefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
.PHONY: test
2+
3+
man/rfc.1: man/rfc.md
4+
ronn --warnings --roff $<
5+
6+
test:
7+
bash test/tests.sh

0 commit comments

Comments
 (0)