dep icon indicating copy to clipboard operation
dep copied to clipboard

Allow specifying different formats for full name

Open stellarhoof opened this issue 3 years ago • 1 comments

Any plans on allowing something like this?

require "dep" {
  "https://github.com/user/package",
  "/some/absolute/path/package",
}

stellarhoof avatar Nov 27 '22 14:11 stellarhoof

You can override the clone URL like this, but the package ID still needs to be in the user/package format:

require "dep" {
  {
    "user/package",
    url = "https://github.com/user/package" -- or some other git host
  }
}

As for cloning a package from the local filesystem, I believe Git is already able to do this but I haven't tested this yet.

luaneko avatar Dec 20 '22 13:12 luaneko