zf

zenflows testing
git clone https://s.sonu.ch/~srfsh/zf.git
Log | Files | Refs | Submodules | README | LICENSE

mix.exs (2070B)


      1 defmodule Postgrex.Mixfile do
      2   use Mix.Project
      3 
      4   @source_url "https://github.com/elixir-ecto/postgrex"
      5   @version "0.16.5"
      6 
      7   def project do
      8     [
      9       app: :postgrex,
     10       version: @version,
     11       elixir: "~> 1.11",
     12       deps: deps(),
     13       name: "Postgrex",
     14       description: "PostgreSQL driver for Elixir",
     15       docs: docs(),
     16       package: package(),
     17       xref: [exclude: [Jason, :ssl]]
     18     ]
     19   end
     20 
     21   # Configuration for the OTP application
     22   def application do
     23     [
     24       extra_applications: [:logger, :crypto],
     25       mod: {Postgrex.App, []},
     26       env: [type_server_reap_after: 3 * 60_000, json_library: Jason]
     27     ]
     28   end
     29 
     30   defp deps do
     31     [
     32       {:ex_doc, ">= 0.0.0", only: :docs},
     33       {:jason, "~> 1.0", optional: true},
     34       {:table, "~> 0.1.0", optional: true},
     35       {:decimal, "~> 1.5 or ~> 2.0"},
     36       {:db_connection, "~> 2.1"},
     37       {:connection, "~> 1.1"}
     38     ]
     39   end
     40 
     41   defp docs do
     42     [
     43       source_url: @source_url,
     44       source_ref: "v#{@version}",
     45       main: "readme",
     46       extras: ["README.md", "CHANGELOG.md"],
     47       skip_undefined_reference_warnings_on: ["CHANGELOG.md"],
     48       groups_for_modules: [
     49         # Postgrex
     50         # Postgrex.Notifications
     51         # Postgrex.Query
     52         # Postgrex.ReplicationConnection
     53         # Postgrex.SimpleConnection
     54         # Postgrex.Stream
     55         # Postgrex.Result
     56         "Data Types": [
     57           Postgrex.Box,
     58           Postgrex.Circle,
     59           Postgrex.INET,
     60           Postgrex.Interval,
     61           Postgrex.Lexeme,
     62           Postgrex.Line,
     63           Postgrex.LineSegment,
     64           Postgrex.MACADDR,
     65           Postgrex.Path,
     66           Postgrex.Point,
     67           Postgrex.Polygon,
     68           Postgrex.Range
     69         ],
     70         "Custom types and Extensions": [
     71           Postgrex.DefaultTypes,
     72           Postgrex.Extension,
     73           Postgrex.TypeInfo,
     74           Postgrex.Types
     75         ]
     76       ]
     77     ]
     78   end
     79 
     80   defp package do
     81     [
     82       maintainers: ["Eric Meadows-Jönsson", "James Fish"],
     83       licenses: ["Apache-2.0"],
     84       links: %{"GitHub" => @source_url}
     85     ]
     86   end
     87 end