From 15b1898e5958001eacd29c6a0aab5a1d554492b4 Mon Sep 17 00:00:00 2001 From: EndrII Date: Mon, 19 Oct 2020 21:24:15 +0300 Subject: [PATCH] fix docs --- BuildBotLib/buildBotShedulers.py | 3 ++- BuildBotLib/docs.py | 8 -------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/BuildBotLib/buildBotShedulers.py b/BuildBotLib/buildBotShedulers.py index 12468d8..8de6f38 100644 --- a/BuildBotLib/buildBotShedulers.py +++ b/BuildBotLib/buildBotShedulers.py @@ -58,7 +58,8 @@ class BuildBotShedulers(BuildBotModule): 'clean': True, 'test': True, 'release': False, - 'deploy': True + 'deploy': True, + 'copyFolder': 'Distro' }, treeStableTimer=60 ), diff --git a/BuildBotLib/docs.py b/BuildBotLib/docs.py index fb99ce6..c53c35f 100644 --- a/BuildBotLib/docs.py +++ b/BuildBotLib/docs.py @@ -30,14 +30,6 @@ class Docs(CMake): 'Generate docs for the project', self.isDeploy)] - def mkDirProp(props): - return ['mkdir', '-p', str(props.getProperty('copyFolder'))] - - res += [self.generateStep(mkDirProp, - platform, - 'create dir ', - self.isDeploy)] - res += [steps.CopyDirectory( src="docs/html", dest=util.Interpolate('%(prop:copyFolder)s'))]