homebrew-core/Formula/fleet-db.rb

23 lines
635 B
Ruby
Raw Normal View History

2011-03-10 05:11:03 +00:00
class FleetDb < Formula
desc "Schema-free database optimized for agile development"
homepage "http://fleetdb.org"
2015-10-17 08:16:15 +00:00
url "https://fleetdb.s3.amazonaws.com/fleetdb-standalone-0.2.0.jar"
sha256 "240df0ee690eedf5eed1fd791eca34f18d36852a88a38a521ce9d03748de07a8"
2015-10-23 11:00:51 +00:00
bottle :unneeded
def install
2013-08-12 23:47:40 +00:00
libexec.install "fleetdb-standalone-#{version}.jar"
(bin+"fleetdb-server").write <<-EOS.undent
2012-02-11 23:20:43 +00:00
#!/bin/sh
2013-08-12 23:47:40 +00:00
java -cp "#{libexec}/fleetdb-standalone-#{version}.jar" fleetdb.server "$@"
2012-02-11 23:20:43 +00:00
EOS
end
2012-02-11 23:20:43 +00:00
def caveats; <<-EOS.undent
To start a FleetDB server:
fleetdb-server -f /path/to/data.fdb
EOS
end
end