Packages
A chinese dictionary based on CEDict. Supports Traditional -> English, and Simplified -> English
Current section
Files
Jump to
Current section
Files
chinese_dictionary
mix.exs
mix.exs
defmodule ChineseDictionary.MixProject do
use Mix.Project
def project do
[
app: :chinese_dictionary,
version: "0.1.0",
elixir: "~> 1.8",
start_permanent: Mix.env() == :prod,
deps: deps(),
description: description(),
package: package(),
# Docs
name: "Chinese Dictionary",
source_url: "https://github.com/JorisKok/chinese_dictionary",
docs: [
extras: ["README.md"]
]
]
end
defp description do
"A chinese dictionary based on CEDict. \n
Supports Traditional -> English, and Simplified -> English\n
Generates the CEDict text file into a function overloaded module"
end
defp package do
[
licenses: ["Apache 2.0"],
links: %{
"GitHub" => "https://github.com/JorisKok/chinese_dictionary"
}
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:assert_value, ">= 0.0.0", only: [:dev, :test]},
{:ex_doc, "~> 0.19", only: :dev, runtime: false}
# {:dep_from_hexpm, "~> 0.3.0"},
# {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"}
]
end
end