Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
ssh-ca
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nimrod
ssh-ca
Commits
ac08751a
Commit
ac08751a
authored
9 years ago
by
nimrod
Browse files
Options
Downloads
Patches
Plain Diff
- Added lint target.
- Updated documentation accourdingly.
parent
871acdcc
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Makefile
+5
-2
5 additions, 2 deletions
Makefile
README.rst
+3
-2
3 additions, 2 deletions
README.rst
with
8 additions
and
4 deletions
Makefile
+
5
−
2
View file @
ac08751a
.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
...
...
This diff is collapsed.
Click to expand it.
README.rst
+
3
−
2
View file @
ac08751a
...
...
@@ -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
-------
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment