ToolboxHub / ToolboxToolbox

Declarative dependency management for Matlab.
The Unlicense
27 stars 11 forks source link

Changed behavior of toolboxRoot field, a little. Might break someone's code. #74

Closed DavidBrainard closed 7 years ago

DavidBrainard commented 7 years ago

I changed the behavior of the toolboxRoot field in a toolbox record, so that if a relative path is given, it means to put the toolbox relative to the directory that is one level up from the default toolbox location. Typical use would be to point at something in the projects folder tree.

This will break older code that used a path relative toolboxRoot. But I think that using a path relative toolboxRoot would not have been very stable previously in any case, because toolboxes would go to wherever the pwd happened to be when you ran tbUseProject (I think, not checked carefully.)

It is also possible that my check for an absolute path won't work right on Windows, in which case something else might break.

Let me know if this change is causing you pain.

DavidBrainard commented 7 years ago

Put this back, developed "#" syntax for toolboxRoot to handle when we're dealing with projects.