Boilex

Boilex is mix-based Elixir development tool. It

Installation

Add the following parameters to deps function in mix.exs file

# development tools
{:excoveralls, "~> 0.8", runtime: false},
{:dialyxir, "~> 0.5",    runtime: false},
{:ex_doc, "~> 0.19",     runtime: false},
{:credo, "~> 0.9",       runtime: false},
{:boilex, "~> 0.2",      runtime: false},

Usage

boilex.init

Command mix boilex.init generates development tools configuration files in already existing Elixir project. It can be used with any Elixir or Phoenix application except umbrella projects. To generate configuration execute this command and follow instructions.

cd ./myproject
mix deps.get && mix compile
mix boilex.init

boilex.release

Script bumps version, creates new release, updates changelog and pushes new tag to github. Argument is one of patch | minor | major. Example:

mix boilex.release patch

boilex.hex.publish

Task is wrapper around standard mix hex.publish but it prevents accidental pushing of private organization packages to open-source. Can accept optional --confirm-public flag to enforce open-source push.

mix boilex.hex.publish [--confirm-public]

boilex.ci

Some mix tasks are made to use by CI. But of course tasks can be executed locally if needed. List of tasks:

mix help | grep "boilex\.ci"

scripts

Some system variables are required by some scripts, description of all variables

Variables can be defined in scripts/.env file locally (useful for development) or globally in the system.

TODO