Packages

# SpawnDir Spawns commands from the file system. This exists to provide a simple mechanism for spawning and managing processes: simply add an executable, or a symbolic link to one, to a monitored directory. The config allows arguments to be specified by file or directory. While not as flexible ...

Current section

Files

Jump to
spawndir mix.exs
Raw

mix.exs

defmodule SpawnDir.Mixfile do
use Mix.Project
@state_dir "var"
@test_dir Path.join(@state_dir, "test")
def project do
[app: :spawndir,
version: "0.1.1",
elixir: "~> 0.14.2",
deps: deps,
escript: escript,
description: File.read!("README.md"),
package: [licenses: ["The BSD 3-Clause License"],
contributors: ["Thomas Moulia <jtmoulia@pocketknife.io>"],
links: [github: "https://github.com/jtmoulia/spawndir"]]
]
end
def application do
[applications: [],
mod: {SpawnDir, []},
env: [test_dir: @test_dir]]
end
defp deps do
[#{:exactor, git: "https://github.com/sasa1977/exactor.git", tag: "0.5.0"},
{:exrm, "~> 0.10.3"}]
end
defp escript do
[main_module: SpawnDir]
end
end