Skip to content

Instantly share code, notes, and snippets.

@dch
Created October 1, 2014 10:09
Show Gist options
  • Save dch/271902397f893e12eda0 to your computer and use it in GitHub Desktop.
Save dch/271902397f893e12eda0 to your computer and use it in GitHub Desktop.
elixir mix skeleton to talk to couchdb from elixir
defmodule Couch.Mixfile do
use Mix.Project
def project do
[app: :couch,
version: "0.0.1",
elixir: "~> 1.0.0",
deps: deps]
end
def application do
[applications: [
:logger,
:sasl,
:crypto,
:ssl,
:public_key,
:asn1,
:hackney,
:couchbeam
]]
end
defp deps do
[
{:couchbeam,"1.0.6",[github: "benoitc/couchbeam", tag: "1.0.6"]}
]
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment