Skip to content

Format the depencies in mix.exp without the additional square brackets#31

Open
pragdave wants to merge 2 commits into
yrashk:masterfrom
pragdave:master
Open

Format the depencies in mix.exp without the additional square brackets#31
pragdave wants to merge 2 commits into
yrashk:masterfrom
pragdave:master

Conversation

@pragdave
Copy link
Copy Markdown

The package pages on expm show the mix dependency as

{:amnesia,"0.0.1",[github: "meh/amnesia", tag: "v0.0.1"]}

I've been writing about managing projects in Elixir, and I recommended folks copy and paste these lines into their mix.exs files. When José reviewed it, he suggested that it would be better without the [ and ]

{:amnesia,"0.0.1", github: "meh/amnesia", tag: "v0.0.1"}

I've put together a change for this. It's a little ugly—I suspect there's a smarter way of doing it—but I though you might want to consider it.

Cheers

Dave

@yrashk
Copy link
Copy Markdown
Owner

yrashk commented Jun 23, 2013

Dave,

I somehow managed to miss this pull request. Let me think about it, but it feels to me that I'd rather have elixir's inspect have an option for this kind of cases. @josevalim ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants