0

Support of variables within env path's of build systems

Sascha Müller zum Hagen 4 роки тому 0
There are a lot of possibilities to customize the build system with variables.
But I miss the possibility to use the variables also within the env arbitrary option.

For example:
The following sublime-project file will print PYTHONPATH=${project_path}/my_path instead of the replaced project path

{
    "folders":
    [
        {
            "name": "Env Examples",
            "path": "."
        }
    ],
    "build_systems":
    [
        {
            "name": "Echo",
            "env":{
                "PYTHONPATH":"${project_path}/my_path"
            },
            "working_dir":"${project_path}",
            "shell_cmd": "printenv"
        }
    ]
}