Packages

Sqitch is a semi-sane way to manage databases. This module here is all about integrating with the power of Sqitch.

Current section

Files

Jump to
sqitch lib mix tasks sqitch.ex
Raw

lib/mix/tasks/sqitch.ex

defmodule Mix.Tasks.Sqitch do
use Mix.Task
@type cmd :: {Collectable.t, exit_status :: non_neg_integer}
@shortdoc "Passes args from this mix task to the sqitch command."
@spec run(list) :: cmd
def run(args) do
System.cmd "sqitch", args, Application.fetch_env!(:sqitch, :system)
end
end