From 0598d9fcf77a136d61b40e7e46d8089c8e0c0742 Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Mon, 31 Jul 2017 11:12:17 +0300 Subject: [PATCH] - Added a clean Make target. --- .gitignore | 4 ++-- Makefile | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index e2a00db..cee4e0c 100644 --- a/.gitignore +++ b/.gitignore @@ -2,8 +2,8 @@ *~ *.swp *.swo -certs/* -keys/* +certs/ +keys/ openssl.cnf CA.key CA.crt diff --git a/Makefile b/Makefile index 5b7a85b..39e170b 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: install test +.PHONY: install test clean install: cp ssl-ca /usr/local/bin/ssl-ca @@ -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" kill "$$(cat .server.pid)" rm .server.pid + +clean: + git clean -Xdf -- GitLab