Packages
vtc
0.7.2
0.17.5
0.17.4
0.17.3
0.17.2
0.17.1
0.17.0
0.16.9
0.16.8
0.16.7
0.16.6
0.16.5
0.16.4
0.16.2
0.16.1
0.16.0
0.15.4
0.15.3
0.15.2
0.15.1
0.15.0
0.14.5
0.14.4
0.14.3
0.14.2
0.14.1
0.14.0
0.13.15
0.13.14
0.13.13
0.13.12
0.13.11
0.13.10
0.13.9
0.13.8
0.13.7
0.13.6
0.13.5
0.13.4
0.13.3
0.13.2
0.13.1
0.13.0
0.12.1
0.12.0
0.11.1
0.11.0
0.10.10
0.10.9
0.10.8
0.10.7
0.10.6
0.10.5
0.10.4
0.10.3
0.10.2
0.10.1
0.10.0
0.9.2
0.9.1
0.9.0
0.8.4
0.8.3
0.8.2
0.8.1
0.8.0
0.7.3
0.7.2
0.7.1
0.7.0
0.6.1
0.6.0
0.5.3
0.5.2
0.5.1
0.4.0
0.3.9
0.3.8
0.3.7
0.3.6
0.3.5
0.3.4
0.3.3
0.3.2
0.3.1
0.3.0
0.2.6
0.2.5
0.2.4
0.2.3
0.2.2
0.2.1
0.2.0
0.1.9
0.1.8
0.1.7
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
A SMPTE timecode library for Elixir
Current section
Files
Jump to
Current section
Files
mix.exs
defmodule Vtc.MixProject do
use Mix.Project
alias Vtc.Source.Frames
alias Vtc.Source.Seconds
def project do
[
app: :vtc,
version: "0.7.2",
description: "A SMPTE timecode library for Elixir",
source_url: "https://github.com/opencinemac/vtc-ex",
elixir: "~> 1.12",
test_coverage: [tool: :covertool],
docs: [
# The main page in the docs
main: "readme",
logo: "zdocs/source/logo1.svg",
extras: ["README.md", "zdocs/history.md"],
groups_for_modules: [
"Core API": [Vtc.Timecode, Vtc.Framerate, Vtc.Range],
Data: [Vtc.Timecode.Sections, Vtc.Rates, Vtc.FilmFormat],
"Frames Formats": [Frames.FeetAndFrames, Frames.TimecodeStr],
"Seconds Formats": [Seconds.PremiereTicks, Seconds.RuntimeStr],
"Source Protocols": [Seconds, Frames]
],
groups_for_docs: [
Parse: &(&1[:section] == :parse),
Manipulate: &(&1[:section] == :manipulate),
Inspect: &(&1[:section] == :inspect),
Compare: &(&1[:section] == :compare),
Arithmatic: &(&1[:section] == :arithmatic),
Convert: &(&1[:section] == :convert)
]
],
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
package: package(),
deps: deps()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
# Library Dependencies
{:decimal, "~> 2.0"},
{:ratio, "~> 3.0"},
# Test dependencies
{:covertool, "~> 2.0", only: [:test]},
{:stream_data, "~> 0.5.0", only: [:test]},
{:junit_formatter, "~> 3.1", only: [:test]},
# Dev dependencies
{:credo, "~> 1.6", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.0", only: [:dev, :test], runtime: false},
{:ex_doc, "~> 0.27", only: [:dev, :test], runtime: false},
{:styler, "~> 0.3", only: [:dev, :test], runtime: false}
]
end
defp package() do
[
# This option is only needed when you don't want to use the OTP application name
name: "vtc",
# These are the default files included in the package
files: ~w(lib mix.exs README.md* LICENSE*),
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/opencinemac/vtc-ex"}
]
end
end