mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 01:21:03 +01:00
add --extrapath to client build
This commit is contained in:
parent
cdc48b26f1
commit
5eb93a30e6
@ -1655,7 +1655,10 @@ if installDir[-1] != "/":
|
||||
def build_and_test_client(env, target, source):
|
||||
from subprocess import call
|
||||
|
||||
call("scons", cwd=installDir)
|
||||
if GetOption("extrapath") is not None:
|
||||
call("scons --extrapath=%s" % GetOption("extrapath"), cwd=installDir)
|
||||
else:
|
||||
call("scons", cwd=installDir)
|
||||
return bool(call(["python", "buildscripts/smoke.py",
|
||||
"--test-path", installDir, "smokeClient"]))
|
||||
env.Alias("clientBuild", [mongod, installDir], [build_and_test_client])
|
||||
|
Loading…
Reference in New Issue
Block a user