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

- Added a clean Make target.

parent c5d71104
No related branches found
No related tags found
No related merge requests found
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
*~ *~
*.swp *.swp
*.swo *.swo
certs/* certs/
keys/* keys/
openssl.cnf openssl.cnf
CA.key CA.key
CA.crt CA.crt
......
.PHONY: install test .PHONY: install test clean
install: install:
cp ssl-ca /usr/local/bin/ssl-ca cp ssl-ca /usr/local/bin/ssl-ca
...@@ -29,3 +29,6 @@ test: ...@@ -29,3 +29,6 @@ test:
test "$$(curl --fail --cacert CA.crt --resolve www.ssl-ca:4433:127.0.0.1 --write-out '%{ssl_verify_result}' --silent --output /dev/null https://www.ssl-ca:4433/)" = "0" test "$$(curl --fail --cacert CA.crt --resolve www.ssl-ca:4433:127.0.0.1 --write-out '%{ssl_verify_result}' --silent --output /dev/null https://www.ssl-ca:4433/)" = "0"
kill "$$(cat .server.pid)" kill "$$(cat .server.pid)"
rm .server.pid rm .server.pid
clean:
git clean -Xdf
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment