witty-crayon-22786
05/24/2018, 10:18 PMGet
witty-crayon-22786
05/24/2018, 10:18 PMGet(OutputType, InputType, thing)
requires that InputType
and thing
are hashablewitty-crayon-22786
05/24/2018, 10:19 PMOutputType
is hashablerough-minister-58256
05/24/2018, 10:57 PMwitty-crayon-22786
05/25/2018, 7:26 PMwitty-crayon-22786
05/25/2018, 7:26 PMTargetRootsCalculator
editwitty-crayon-22786
05/25/2018, 7:27 PMrough-minister-58256
05/25/2018, 7:29 PMwitty-crayon-22786
05/25/2018, 7:30 PMrough-minister-58256
05/25/2018, 7:32 PM./pants filemap
uses passthru args like ./pants filemap -- x/y/z.py
to differentiate. in the case of TargetRoots
form, we would use.. options?rough-minister-58256
05/25/2018, 7:32 PM./pants x f:x/y/z.py
rough-minister-58256
05/25/2018, 7:33 PMrough-minister-58256
05/25/2018, 7:33 PMrough-minister-58256
05/25/2018, 7:34 PMwitty-crayon-22786
05/25/2018, 7:42 PMrough-minister-58256
05/25/2018, 7:43 PMx/y:z.py
?witty-crayon-22786
05/25/2018, 7:43 PMwitty-crayon-22786
05/25/2018, 7:43 PMrough-minister-58256
05/25/2018, 7:43 PMrough-minister-58256
05/25/2018, 7:44 PMrough-minister-58256
05/25/2018, 7:44 PMwitty-crayon-22786
05/25/2018, 7:45 PMrough-minister-58256
05/25/2018, 7:45 PMx/y/*
)rough-minister-58256
05/25/2018, 7:45 PMwitty-crayon-22786
05/25/2018, 10:43 PM@rule(SetupPyInvocationEnvironment, [Select(NativeToolchain)])
def get_setup_py_env(native_toolchain):
joined_path = get_joined_path(
native_toolchain.path_entries(), os.environ.copy())
return SetupPyInvocationEnvironment(joined_path)
aloof-angle-91616
05/25/2018, 10:44 PMwitty-crayon-22786
05/25/2018, 10:44 PMos.environ
is mutablealoof-angle-91616
05/25/2018, 10:44 PMaloof-angle-91616
05/25/2018, 10:44 PMaloof-angle-91616
05/25/2018, 10:45 PM