How to install binary package from GitHub repository? #18837
-
In order to learn V practically, I began to work on a small CLI project whose Git repository is hosted on GitHub. I would like to install the latest repository state as a binary executable on my local machine to test the software. The project itself has no dependencies (except for the V standard library) and consists only of the When I try install my software with Any ideas? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
If your code needs something more complex than The other alternative would be to create an install package for the OS, but you'll likely have to create a separate package for each OS variation, as well as every different package manager a user might use on that OS. |
Beta Was this translation helpful? Give feedback.
v install
is for installing modules that will be pulled in and compiled with other code. It isn't meant to install and build standalone code.If your code needs something more complex than
v .
to build, we recommend including abuild.vsh
file with your code. The user will still need to run thebuild.vsh
file themselves after pulling down your code - there is no automated system for this.The other alternative would be to create an install package for the OS, but you'll likely have to create a separate package for each OS variation, as well as every different package manager a user might use on that OS.