-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove Netrc dependencies from mix.exs
- `git submodule`d netrc repository - now execute `mix deps.star` by `mix archive.install` no need to dependent on mixstar in your project mix.exs file
- Loading branch information
Showing
6 changed files
with
13 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "netrcex"] | ||
path = netrcex | ||
url = [email protected]:ma2gedev/netrcex.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,17 +8,12 @@ Enjoy! | |
|
||
## How to install | ||
|
||
Add `:mixstar` to your project's dependencies with `only: :dev`: | ||
|
||
``` | ||
# mix.exs | ||
def deps do | ||
[{:mixstar, "~> 0.0.1", only: :dev}] | ||
end | ||
```shell | ||
$ git clone [email protected]:ma2gedev/mix-star.git | ||
$ cd mix-star | ||
$ mix do archive.build, archive.install | ||
``` | ||
|
||
And fetch: `mix deps.get` | ||
|
||
Now you get `mix deps.star` command! | ||
|
||
## How to use | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
defmodule MixStar.Ext do | ||
# use Netrc module | ||
Code.eval_string(File.read!(Path.join([__DIR__, "../../netrcex/lib/netrc.ex"])), [], __ENV__) | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters