File tree Expand file tree Collapse file tree 1 file changed +19
-8
lines changed Expand file tree Collapse file tree 1 file changed +19
-8
lines changed Original file line number Diff line number Diff line change
1
+ Code . ensure_loaded? ( Hex ) and Hex . start
2
+
1
3
defmodule Decimal.Mixfile do
2
4
use Mix.Project
3
5
4
6
def project do
5
7
[ app: :decimal ,
6
8
version: "0.1.1-dev" ,
7
- elixir: "~> 0.12.4 or ~> 0. 13.0-dev " ,
9
+ elixir: "~> 0.13.0" ,
8
10
deps: deps ( Mix . env ) ,
9
11
build_per_environment: false ,
10
12
name: "Decimal" ,
11
13
source_url: "https://github.com/ericmj/decimal" ,
14
+ description: description ,
12
15
docs: fn -> [
13
16
source_ref: System . cmd ( "git rev-parse --verify --quiet HEAD" ) ,
14
17
readme: true ]
15
- end ]
18
+ end ,
19
+ package: package ]
16
20
end
17
21
18
- # Configuration for the OTP application
19
22
def application do
20
23
[ ]
21
24
end
22
25
23
- # Returns the list of dependencies in the format:
24
- # { :foobar, git: "https://github.com/elixir-lang/foobar.git", tag: "0.1" }
25
- #
26
- # To specify particular versions, regardless of the tag, do:
27
- # { :barbat, "~> 0.1", github: "elixir-lang/barbat.git" }
28
26
defp deps ( :dev ) do
29
27
[ { :ex_doc , github: "elixir-lang/ex_doc" } ]
30
28
end
31
29
32
30
defp deps ( _ ) , do: [ ]
31
+
32
+ defp description do
33
+ """
34
+ Arbitrary precision decimal arithmetic for Elixir.
35
+ """
36
+ end
37
+
38
+ defp package do
39
+ [ contributors: [ "Eric Meadows-Jönsson" ] ,
40
+ licenses: [ "Apache 2.0" ] ,
41
+ links: [ { "Github" , "https://github.com/ericmj/decimal" } ,
42
+ { "Documentation" , "http://ericmj.github.io/decimal" } ] ]
43
+ end
33
44
end
You can’t perform that action at this time.
0 commit comments