# Copyright (C) 2025 Philip Sampaio Silva # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at [http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0) # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. defmodule TableKitty.MixProject do use Mix.Project @version "0.1.0" @source_url "https://github.com/philss/table_kitty" def project do [ app: :table_kitty, name: "TableKitty", description: "A text-based table renderer with nice defaults", version: @version, elixir: "~> 1.14", start_permanent: Mix.env() == :prod, package: package(), docs: docs(), deps: deps() ] end def application do [ extra_applications: [:logger] ] end defp deps do [ {:table, "~> 0.1.0"}, {:ex_doc, ">= 0.0.0", only: :dev} ] end defp docs do [ main: "TableKitty", source_ref: "v#{@version}", source_url: @source_url ] end defp package do [ files: [ "lib", "mix.exs", "CHANGELOG.md", "README.md", "LICENSE" ], licenses: ["Apache-2.0"], links: %{ "GitHub" => @source_url, "Changelog" => "#{@source_url}/blob/v#{@version}/CHANGELOG.md" }, maintainers: ["Philip Sampaio"] ] end end