Closed ghost closed 7 years ago
Note this doesn't use the vendor/ directory because that would only establish a partial link. Packages not below cwd
would still use the original package.
One little piece of sugar I'd like added in the future is the ability to use package names instead of hashes. This would work when in a package directory, and would read the hash from the package's dependencies.
Works well, but when first trying to use, I accidentally copy-pasted whole import path (like gx/ipfs/Qmb3Hm9QDFmfYuET4pu7Kyg8JV78jFa1nvZx5vnCZsK4ck/go-ipld-format
) and got ERROR: Error: error during gx get: exit status 1
which didn't really say anything about why that happened. I can see it happening more often, so having at least a better error message here would be nice.
gx-go link eases local development by symlinking actual workspace repositories on demand.
Example workflow: