Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
ssl-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
ssl-ca
Commits
c408d926
Commit
c408d926
authored
9 years ago
by
nimrod
Browse files
Options
Downloads
Patches
Plain Diff
- Added lint target, updated documentation.
parent
dbdbc2be
No related branches found
No related tags found
No related merge requests found
Changes
2
Show 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 @
c408d926
.PHONY
:
install clean test
.PHONY
:
install clean test
lint
install
:
install
:
cp
ssl-ca /usr/local/bin/ssl-ca
cp
ssl-ca /usr/local/bin/ssl-ca
...
@@ -8,7 +8,10 @@ clean:
...
@@ -8,7 +8,10 @@ clean:
if
[
-f
.server.pid
]
;
then
kill
"
$$(
cat .server.pid
)
"
;
fi
if
[
-f
.server.pid
]
;
then
kill
"
$$(
cat .server.pid
)
"
;
fi
rm
-rf
openssl.cnf certs keys CA.key CA.crt CA.p12 CA.srl .server.pid
rm
-rf
openssl.cnf certs keys CA.key CA.crt CA.p12 CA.srl .server.pid
test
:
clean
lint
:
/bin/sh
-en
ssl-ca
test
:
clean lint
./ssl-ca init
./ssl-ca init
test
"
$$(
openssl rsa -noout -check -in CA.key
)
"
=
"RSA key ok"
test
"
$$(
openssl rsa -noout -check -in CA.key
)
"
=
"RSA key ok"
test
"
$$(
openssl verify -CAfile CA.crt CA.crt
)
"
=
"CA.crt: OK"
test
"
$$(
openssl verify -CAfile CA.crt CA.crt
)
"
=
"CA.crt: OK"
...
...
This diff is collapsed.
Click to expand it.
README.rst
+
3
−
2
View file @
c408d926
...
@@ -68,8 +68,9 @@ other cert on the internet.
...
@@ -68,8 +68,9 @@ other cert on the internet.
Development
Development
-----------
-----------
For easing devlopment :code:`make test` and :code:`make clean` are also provided
To ease development :code:`make clean`, :code:`make lint` and :code:`make test`
(it's recommended to add :code:`make test` to the pre-push git hook).
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
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