From 1c08bc1f92bea6aa6cfa90b87a02c5b9fbf599c8 Mon Sep 17 00:00:00 2001 From: Jason Hiser <jdhiser@gmail.com> Date: Thu, 15 Aug 2019 14:41:03 -0400 Subject: [PATCH] pedi integration --- SConstruct | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/SConstruct b/SConstruct index 8355915..a570db8 100644 --- a/SConstruct +++ b/SConstruct @@ -1,6 +1,11 @@ import os -#setup a basic environment + +# setup pedi +if not os.path.isfile("manifest.txt.config"): + os.system(os.environ['PEDI_HOME']+'/pedi --setup -m manifest.txt -l turbo -l zafl -l ps -l zipr -l stratafier -l stars -i ' + os.environ['TURBO_INSTALL']) + + #setup a basic environment env = Environment( @@ -32,7 +37,14 @@ Depends([turbod,cli],[rpc]) ret=[rpc,turbod,cli,prepd,zafl] -print "ret=", [str(s) for s in ret] + +pedi = Command( target = "./turbo-install", + source = [ret], + action = 'echo Doing pedi in `pwd`; ' + os.environ['PEDI_HOME']+"/pedi -m manifest.txt " ) + +# decide whether to pedi +if Dir('.').abspath == Dir('#.').abspath: + ret=ret+pedi Default(ret) Return('ret') -- GitLab