surwiki/deploy/sausagewiki.rb
2017-11-29 15:45:03 +01:00

16 lines
383 B
Ruby

class Sausagewiki < Formula
desc "A simple, self-contained Wiki engine"
homepage "https://github.com/maghoff/sausagewiki/"
head "https://github.com/maghoff/sausagewiki.git"
depends_on "rust" => :build
def install
system "cargo", "build", "--release"
bin.install "target/release/sausagewiki"
end
test do
system "#{bin}/sausagewiki", "--version"
end
end