add test artifacts to gitignore and clean target of makefile (#1196)

* add test artifacts to gitignore and clean target of makefile

Signed-off-by: Felix Bartels <felix@host-consultants.de>

* ignore all of test/ during docker build

Signed-off-by: Felix Bartels <felix@host-consultants.de>
This commit is contained in:
Felix Bartels 2019-07-24 13:38:01 +02:00 committed by Thomas VIAL
parent 8c92c918a9
commit 99cbd7066a
3 changed files with 14 additions and 5 deletions

View File

@ -1 +1 @@
test/onedir
test/

12
.gitignore vendored
View File

@ -10,3 +10,15 @@ test/config/postfix-accounts.cf
test/config/letsencrypt/mail.my-domain.com/combined.pem
test/onedir
config/opendkim/
test/config/dovecot-lmtp/userdb
test/config/key*
test/config/opendkim/keys/domain.tld/
test/config/opendkim/keys/example.com/
test/config/opendkim/keys/localdomain2.com/
test/config/postfix-aliases.cf
test/config/postfix-receive-access.cf
test/config/postfix-receive-access.cfe
test/config/postfix-send-access.cf
test/config/postfix-send-access.cfe
test/config/relay-hosts/chksum
test/config/relay-hosts/postfix-aliases.cf

View File

@ -329,7 +329,4 @@ clean:
sudo rm -rf test/config ;\
mv testconfig.bak test/config ;\
fi
-sudo rm -rf test/onedir
-sudo rm -rf test/alias
-sudo rm -rf test/relay
-sudo rm -rf test/onedir test/alias test/relay test/config/dovecot-lmtp/userdb test/config/key* test/config/opendkim/keys/domain.tld/ test/config/opendkim/keys/example.com/ test/config/opendkim/keys/localdomain2.com/ test/config/postfix-aliases.cf test/config/postfix-receive-access.cf test/config/postfix-receive-access.cfe test/config/postfix-send-access.cf test/config/postfix-send-access.cfe test/config/relay-hosts/chksum test/config/relay-hosts/postfix-aliases.cf