<commit_before>defmodule Charlotte.Mixfile do
  use Mix.Project

  def project do
    [ app: :charlotte,
      name: "Charlotte",
      version: "0.2.0",
      elixir: "~> 0.15.0",
      description: description,
      package: package,
      deps: deps(Mix.env) ]
  end

  # Configuration for the OTP application
  def application do
    [
      mod: { Charlotte, [] },
      registered: [:charlotte]
    ]
  end

  defp deps(env) when env in [:prod, :dev], do: deps(:default)
  defp deps(env) when env == :test do
    [
      { :hackney, github: "benoitc/hackney" },
      { :ex_spec, "~> 0.1.0"}
    ] ++ deps(:default)
  end

  defp deps(env) when env == :default do
    [
      {:cowboy, "~> 1.0.0" },
      {:plug, "~> 0.5.2"},
      {:jazz, "~> 0.2.0"},
      {:ex_doc, "~> 0.5.1"},
      {:env_conf, "~> 0.2.0"}
    ]
  end

  defp description do
    """
      Charlotte is a Web Framework.  It takes a little from Rails and a little from Sinatra and does a few things it's own way.  The goal is to be light weight, fun and get out of your way.
    """
  end

  defp package do
    [files: ["lib", "mix.exs", "README*", "readme*", "LICENSE*", "license*"],
     contributors: ["<NAME>"],
     licenses: ["MIT"],<commit_msg>Don't include ex_doc as dependency on Hex<commit_after>defmodule Charlotte.Mixfile do
  use Mix.Project

  def project do
    [ app: :charlotte,
      name: "Charlotte",
      version: "0.2.0",
      elixir: "~> 0.15.0",
      description: description,
      package: package,
      deps: deps ]
  end

  # Configuration for the OTP application
  def application do
    [
      mod: { Charlotte, [] },
      registered: [:charlotte]
    ]
  end

  
  defp deps do
    [ {:cowboy, "~> 1.0.0"},
      {:plug, "~> 0.5.2"},
      {:jazz, "~> 0.2.0"},
      {:env_conf, "~> 0.2.0"},
      {:hackney, github: "benoitc/hackney", only: :test},
      {:ex_spec, "~> 0.1.0", only: :test},
      {:ex_doc, "~> 0.5.1", only: :dev} ]
  end

  defp description do
    """
      Charlotte is a Web Framework.  It takes a little from Rails and a little from Sinatra and does a few things it's own way.  The goal is to be light weight, fun and get out of your way.
    """
  end

  defp package do
    [files: ["lib", "mix.exs", "README*", "readme*", "LICENSE*", "license*"],
     contributors: ["<NAME>"],
     licenses: ["MIT"],
{'fraction_non_alphanumeric': 0.16688006828851898, 'fraction_numerical': 0.021340162185232606, 'mean_word_length': 2.402031930333817, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 19, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1898597', 'n_tokens_mistral': 905, 'n_tokens_neox': 850, 'n_words': 253}