This commit is contained in:
coolprop
2014-09-11 10:56:11 -07:00
parent ff01b0ccb2
commit 792f5a375e

View File

@@ -94,7 +94,7 @@ def sphinx_slave(platform, git_mode = 'incremental'):
# Run sphinx build
factory.addStep(ShellCommand(command=["make", "html"], workdir= 'build/Web', haltOnFailure = True))
# Upload the generated files
factory.addStep(DirectoryUpload(slavesrc="Web/_build/html",masterdest="public_html/sphinx",url="sphinx",compress="bz2"))
factory.addStep(DirectoryUpload(slavesrc="Web/_build/html",masterdest="sphinx",url="sphinx",compress="bz2"))
return factory
def javascript_slave(platform, cmake_args = [], cmake_env = {}, build_args = [], git_mode = 'incremental'):
@@ -149,14 +149,14 @@ def deb_slave(git_mode = 'incremental'):
factory.addStep(ShellCommand(command=cleanCommand, description='fullclean?', workdir=""))
# Check out sources
factory.addStep(Git(repourl='git://github.com/CoolProp/CoolProp', mode=git_mode, submodules = True, progress=True, haltOnFailure = True))
factory.addStep(ShellCommand(command = ' '.join(["bsh","package.bsh"]),
factory.addStep(ShellCommand(command = ' '.join(["chmod","+x","package.bsh","&&", "./package.bsh"]),
workdir= working_folder,
haltOnFailure = True))
factory.addStep(MakeDirectory(dir=working_folder+'/DEB', haltOnFailure = True))
factory.addStep(ShellCommand(command = ' '.join(["copy","*.deb","DEB"]),
factory.addStep(MakeDirectory(dir=working_folder+'/DEB/DEB', haltOnFailure = True))
factory.addStep(ShellCommand(command = ' '.join(["mv","*.deb","DEB/DEB"]),
workdir= working_folder,
haltOnFailure = True))
factory.addStep(DirectoryUpload(slavesrc="build/wrappers/DEB/DEB", masterdest="public_html/binaries", url="public_html/binaries/DEB", compress="bz2"))
factory.addStep(DirectoryUpload(slavesrc="wrappers/DEB/DEB", masterdest="public_html/binaries", url="binaries/DEB", compress="bz2"))
return factory