blob: 660e8d28ce8ff60061d6b6f7d06405bd5d4222e4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
class Amm < Formula
desc "Appearance mode manager"
homepage "https://git.romanilin.is/amm.git"
url "https://git.romanilin.is/amm.git/snapshot/amm-0.0.0.tar.gz"
license "MIT-0"
def install
system "make", "install-bin", "PREFIX=#{prefix}"
prefix.install "lua", "plugin", "tmux", "amm.el", "amm.tmux"
end
service do
run opt_bin/"ammd"
keep_alive true
run_type :immediate
environment_variables PATH: std_service_path_env
log_path var/"log/amm.out.log"
error_log_path var/"log/amm.err.log"
end
test do
system "#{bin}/amm", "--help"
system "#{bin}/ammd", "--help"
end
end
|