b88d4eff3e
prior to this change, paths that begin with ${ } were sometimes assumed to be either absolute or relative. new functions have been added in order to reduce the number of systems that can break. new functions are path:absolutetype -> similair to isabsolute but can return an unknown or maybe result path:deferredjoin -> similair to path:join but creates a string for unknown absolute paths which we except to be generated at bake time path:hasdeferredjoin -> predicate to determine if a path needs to be evaled for a deferred join path:resolvedeferredjoin -> resolves a deferredjoin path to an actual path this is to be called after any %{} replacements occur. right now all api path types use the deferredjoin code path and detoken, solution:makerelative and project:makerelative have been updated to use resolvedeferredjoin. unit tests have been created to test the four new path functions. added unit tests |
||
---|---|---|
.. | ||
.testDotFile | ||
test_aliasing.lua | ||
test_binmodules.lua | ||
test_configset.lua | ||
test_context.lua | ||
test_criteria.lua | ||
test_detoken.lua | ||
test_filename.lua | ||
test_http.lua | ||
test_include.lua | ||
test_json.lua | ||
test_module_loader.lua | ||
test_option.lua | ||
test_os.lua | ||
test_override.lua | ||
test_path.lua | ||
test_premake_command.lua | ||
test_table.lua | ||
test_tree.lua | ||
test_uuid.lua | ||
test_validation.lua | ||
test_versions.lua |