Commit 625b89f 1 parent 5d088f7 commit 625b89f Copy full SHA for 625b89f
File tree 3 files changed +17
-13
lines changed
3 files changed +17
-13
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ defmodule DBAgent do
5
5
defstruct [ :query ]
6
6
end
7
7
8
- @ spec start_link ( ( ( ) -> state :: any ) , Keyword . t ( ) ) :: GenServer . on_start ( )
8
+ @ spec start_link ( ( -> state :: any ) , Keyword . t ( ) ) :: GenServer . on_start ( )
9
9
def start_link ( fun , opts \\ [ ] ) when is_function ( fun , 0 ) do
10
10
opts = [ init: fun , backoff: nil ] ++ opts
11
11
DBConnection . start_link ( __MODULE__ , opts )
Original file line number Diff line number Diff line change @@ -2,12 +2,14 @@ defmodule DbAgent.Mixfile do
2
2
use Mix.Project
3
3
4
4
def project do
5
- [ app: :db_agent ,
6
- version: "0.0.1" ,
7
- elixir: "~> 1.4" ,
8
- build_embedded: Mix . env == :prod ,
9
- start_permanent: Mix . env == :prod ,
10
- deps: deps ( ) ]
5
+ [
6
+ app: :db_agent ,
7
+ version: "0.0.1" ,
8
+ elixir: "~> 1.4" ,
9
+ build_embedded: Mix . env ( ) == :prod ,
10
+ start_permanent: Mix . env ( ) == :prod ,
11
+ deps: deps ( )
12
+ ]
11
13
end
12
14
13
15
def application do
Original file line number Diff line number Diff line change @@ -2,12 +2,14 @@ defmodule TcpConnection.Mixfile do
2
2
use Mix.Project
3
3
4
4
def project do
5
- [ app: :tcp_connection ,
6
- version: "0.0.1" ,
7
- elixir: "~> 1.4" ,
8
- build_embedded: Mix . env == :prod ,
9
- start_permanent: Mix . env == :prod ,
10
- deps: deps ( ) ]
5
+ [
6
+ app: :tcp_connection ,
7
+ version: "0.0.1" ,
8
+ elixir: "~> 1.4" ,
9
+ build_embedded: Mix . env ( ) == :prod ,
10
+ start_permanent: Mix . env ( ) == :prod ,
11
+ deps: deps ( )
12
+ ]
11
13
end
12
14
13
15
def application do
You can’t perform that action at this time.
0 commit comments