barelyhuman / goblin

Golang binaries compiled on-demand for your system
http://goblin.run
MIT License
136 stars 4 forks source link

Fix: handle the PREFIX directory creation #5

Closed barelyhuman closed 2 years ago

barelyhuman commented 2 years ago

There might be cases where the prefixed directory might not exist and the install command will fail silently and doesn't make much sense as it abstracts the debugging info.

The PR tries to fix that by making sure the user has perms to create the PREFIX directory and creates it for them , CI environments should theoretically be able to handle the permissions by default but still needs a viable test before confirming that (add it as a url feature flag to check this without breaking existing usecases)