File tree Expand file tree Collapse file tree 1 file changed +36
-12
lines changed
Expand file tree Collapse file tree 1 file changed +36
-12
lines changed Original file line number Diff line number Diff line change 11defmodule Qex.Mixfile do
22 use Mix.Project
33
4+ @ source_url "https://github.com/princemaple/elixir-queue"
5+ @ version "0.5.0"
6+
47 def project do
5- [ app: :qex ,
6- version: "0.5.0" ,
7- elixir: "~> 1.4" ,
8- build_embedded: Mix . env == :prod ,
9- start_permanent: Mix . env == :prod ,
10- deps: deps ( ) ,
11-
12- description: description ( ) ,
13- package: package ( ) ]
8+ [
9+ app: :qex ,
10+ version: @ version ,
11+ elixir: "~> 1.9" ,
12+ build_embedded: Mix . env ( ) == :prod ,
13+ start_permanent: Mix . env ( ) == :prod ,
14+ deps: deps ( ) ,
15+
16+ # Hex
17+ description: description ( ) ,
18+ package: package ( ) ,
19+
20+ # Docs
21+ name: "Qex" ,
22+ source_url: @ source_url ,
23+ homepage_url: @ source_url ,
24+ docs: docs ( )
25+ ]
1426 end
1527
1628 def application do
@@ -26,8 +38,20 @@ defmodule Qex.Mixfile do
2638 end
2739
2840 defp package do
29- [ licenses: [ "MIT" ] ,
30- maintainers: [ "Po Chen" ] ,
31- links: % { "GitHub": "https://github.com/princemaple/elixir-queue" } ]
41+ [
42+ licenses: [ "MIT" ] ,
43+ maintainers: [ "Po Chen" ] ,
44+ links: % { GitHub: "https://github.com/princemaple/elixir-queue" }
45+ ]
46+ end
47+
48+ defp docs do
49+ [
50+ source_ref: "v#{ @ version } " ,
51+ main: "Qex" ,
52+ canonical: "http://hexdocs.pm/qex" ,
53+ source_url: @ source_url ,
54+ extras: [ "CHANGELOG.md" ]
55+ ]
3256 end
3357end
You can’t perform that action at this time.
0 commit comments