Due that vscode nph extension is taking nph binary from the path, to avoid possible discrepancies - maybe of having other nph version avail from somewhere else - this chore aims to build nph binary only if needed and move it next to nim binary - into vendor/nimbus-build-system/vendor/Nim/bin/ directory, which is inherently added to the path with the .env.sh script.
Changes
Only Makefile changes
[x] build-nph target only executes if nph binary not exists
[x] built nph binary moved next to used nim binary under vendor inside repo
[x] make update will also build nph binary for vscode extension convenience.
Description
Due that vscode nph extension is taking nph binary from the path, to avoid possible discrepancies - maybe of having other nph version avail from somewhere else - this chore aims to build nph binary only if needed and move it next to nim binary - into vendor/nimbus-build-system/vendor/Nim/bin/ directory, which is inherently added to the path with the .env.sh script.
Changes
Only Makefile changes