Packages

Provides an interface for reading and writing data in an Entity Component System. Note that it is up to the consuming application to implement the 'Systems' as this package simply makes working with data easier.

Current section

Files

Jump to
execs lib mix tasks execs.setup.ex
Raw

lib/mix/tasks/execs.setup.ex

defmodule Mix.Tasks.Execs.Setup do
use Execs.Utils
use Mix.Task
@shortdoc "Perform all database setup."
@doc false
def run(_) do
IO.puts "Starting setup"
Application.ensure_started(:execs)
Mix.Task.run "execs.schema.create"
Mix.Task.run "execs.tables.create"
IO.puts "Finished setup"
end
end