From 60b81273cb4b8004d01272a27b46c341fa31b20f Mon Sep 17 00:00:00 2001 From: Zach Daniel Date: Thu, 13 Jun 2024 11:05:11 -0400 Subject: [PATCH] improvement: use `path:` prefix instead of `local:` --- lib/install.ex | 2 +- lib/mix/tasks/igniter.install.ex | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/install.ex b/lib/install.ex index fd6bd30..c237457 100644 --- a/lib/install.ex +++ b/lib/install.ex @@ -211,7 +211,7 @@ defmodule Igniter.Install do [github: requirement] end - "local:" <> requirement -> + "path:" <> requirement -> [path: requirement] version -> diff --git a/lib/mix/tasks/igniter.install.ex b/lib/mix/tasks/igniter.install.ex index 71ae8fb..435502c 100644 --- a/lib/mix/tasks/igniter.install.ex +++ b/lib/mix/tasks/igniter.install.ex @@ -15,7 +15,7 @@ defmodule Mix.Tasks.Igniter.Install do if it is specific, like `3.0.1`, it will be pinned at that *exact* version with `==`. * `package@git:git_url` - The package will be installed from the specified git url. * `package@github:project/repo` - The package will be installed from the specified github repo. - * `package@local:path/to/local` - The package will be installed from the specified local path. + * `package@path:path/to/dep` - The package will be installed from the specified path. ## Switches