From 5c44dccbab2472cbf391467e88094db5a4e0e826 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Tue, 13 Oct 2015 16:29:56 +0200 Subject: [PATCH] Allow publishlang to run several times Cleanup directory so that the following commands work. This is needed for developers invoking the publishlang-api manually. Change-Id: I87379427305e0da06a9434479fa036368b7af463 --- tox.ini | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tox.ini b/tox.ini index c950b0264..116ccf5d1 100644 --- a/tox.ini +++ b/tox.ini @@ -101,7 +101,11 @@ whitelist_externals = doc-tools-check-languages mkdir mv + rm commands = + # Cleanup first - important when this environment runs locally + # multiple times. + rm -rf publish-docs doc-tools-check-languages doc-tools-check-languages.conf publish all # Move directories to proper place, we publish translated # quick-start guides at