Skip to content
Snippets Groups Projects
Commit ac08751a authored by nimrod's avatar nimrod
Browse files

- Added lint target.

- Updated documentation accourdingly.
parent 871acdcc
No related branches found
No related tags found
No related merge requests found
.PHONY: install clean test
.PHONY: install clean test lint
sshd_config:
......@@ -17,7 +17,10 @@ clean:
if [ -f sshd.pid ] && [ -d "/proc/$$(cat sshd.pid)" ]; then kill "$$(cat sshd.pid)"; fi
rm -rf CA CA.pub users hosts known_hosts sshd.pid sshd_config
test: clean sshd_config
lint:
/bin/sh -en ssh-ca
test: clean sshd_config lint
./ssh-ca init
./ssh-ca newuser $$USER
./ssh-ca newhost localhost
......
......@@ -86,8 +86,9 @@ Authenticating users
Development
-----------
To ease development :code:`make clean` and :code:`make test` are available.
It's recommended to add :code:`make test` to your git pre-commit hook.
To ease development :code:`make clean`, :code:`make lint` and :code:`make test`
are available. It's recommended to add :code:`make lint` and :code:`make test`
to to your Git pre-commit and pre-push hooks accourdingly.
License
-------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment