em00k/NextBuild

NEX File Output path issue

sparkes opened this issue · 1 comments

nextbuild.py line 165 has an issue with the path when building projects stored outside the NextBuild directories.

My attempts to change the path didn't work even when they produced an absolute path using BASE_DIR so I'm not able to offer a simple pull request to fix the issue :( My python is obviously very rusty :)

My quick fix was to remove the path entirely and drop sysvars.bin in my project directory.

Environment used
Windows 11.
NextBuild directory is not in the path.

NextBuild Directory is in the parent of my project directory and my task.json uses relative paths as shown below
"windows": { "command": "./../NextBuild/zxbasic/python/python.exe", "args": [ "./../NextBuild/Scripts/nextbuild.py", "${file}" ] },

Thanks, yes all paths are relative to the Nextbuild sources folder. I will look at a more elegant way to handle this.