2011-03-10 05:11:03 +00:00
|
|
|
class FleetDb < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Schema-free database optimized for agile development"
|
2015-08-03 12:55:31 +00:00
|
|
|
homepage "http://fleetdb.org"
|
2015-10-17 08:16:15 +00:00
|
|
|
url "https://fleetdb.s3.amazonaws.com/fleetdb-standalone-0.2.0.jar"
|
2015-08-03 12:55:31 +00:00
|
|
|
sha256 "240df0ee690eedf5eed1fd791eca34f18d36852a88a38a521ce9d03748de07a8"
|
2010-07-15 16:30:23 +00:00
|
|
|
|
2015-10-23 11:00:51 +00:00
|
|
|
bottle :unneeded
|
|
|
|
|
2010-07-15 16:30:23 +00:00
|
|
|
def install
|
2013-08-12 23:47:40 +00:00
|
|
|
libexec.install "fleetdb-standalone-#{version}.jar"
|
2015-08-03 12:55:31 +00:00
|
|
|
(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
|
2010-07-15 16:30:23 +00:00
|
|
|
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
|
2010-07-15 16:30:23 +00:00
|
|
|
end
|
|
|
|
end
|