Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NEX File Output path issue #22

Open
sparkes opened this issue Jan 20, 2024 · 1 comment
Open

NEX File Output path issue #22

sparkes opened this issue Jan 20, 2024 · 1 comment

Comments

@sparkes
Copy link

sparkes commented Jan 20, 2024

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}" ] },

@em00k
Copy link
Owner

em00k commented Feb 17, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants