{"id":13509064,"url":"https://github.com/yrashk/relex","last_synced_at":"2025-04-15T21:33:03.167Z","repository":{"id":5038458,"uuid":"6198134","full_name":"yrashk/relex","owner":"yrashk","description":"Erlang/Elixir Release Assembler","archived":false,"fork":false,"pushed_at":"2014-04-21T05:59:21.000Z","size":312,"stargazers_count":59,"open_issues_count":7,"forks_count":12,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-11-01T09:33:30.189Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"sinatra/sinatra","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yrashk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-10-13T00:18:47.000Z","updated_at":"2022-09-01T20:13:47.000Z","dependencies_parsed_at":"2022-09-21T14:12:57.607Z","dependency_job_id":null,"html_url":"https://github.com/yrashk/relex","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yrashk%2Frelex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yrashk%2Frelex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yrashk%2Frelex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yrashk%2Frelex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yrashk","download_url":"https://codeload.github.com/yrashk/relex/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223688015,"owners_count":17186263,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T02:01:02.497Z","updated_at":"2024-11-08T12:43:34.099Z","avatar_url":"https://github.com/yrashk.png","language":"Elixir","funding_links":[],"categories":["Release Management"],"sub_categories":[],"readme":"# Relex — Release assembler\n\nRelex is a simplistic assembler for Erlang releases in Elixir.\n\nIn order to define a release, this is your start point:\n\n```elixir\ndefmodule MyApp.Release do\n  use Relex.Release\n\n  def name, do: \"myapp\"\n  def version, do: \"1\"\n\n  def applications, do: [:myapp]\nend\n```\n\nSee Relex.Release.Template documentation for more information\n\nAfter having this module compiled, run `MyApp.Release.assemble! path: \"/output/dir\"` (path is optional)\n\n## Mix task\n\nYou can also use Relex with Mix. For this, add the following dependency:\n\n```elixir\n{:relex, github: \"yrashk/relex\"},\n```\n\nThen, prepend your mix.exs file with this:\n\n```elixir\nCode.append_path \"_build/#{Mix.env}/lib/relex/ebin/\"\n```\n\nand then, inside of your project module, define the release:\n\n```elixir\nif Code.ensure_loaded?(Relex.Release) do\n  defmodule Release do\n    use Relex.Release\n\n    def name, do: \"myrelease\"\n    def version, do: Mix.project[:version]\n    def applications, do: [:myapp]\n    def lib_dirs, do: [\"deps\"]\n  end\nend\n```\n\nNow you can run `mix relex.assemble` and `mix relex.clean` commands\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyrashk%2Frelex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyrashk%2Frelex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyrashk%2Frelex/lists"}