aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2014-01-17 23:02:12 +0000
committerMike McQuaid2014-01-17 23:02:12 +0000
commite31e58a00032bcecc3d9d28e0617a841c17e81f8 (patch)
treef4cd79d107c4d06f6b427cb8117933eb149938bb /Library
parent9625add1ea72410e18147e1b5162a35eaa487181 (diff)
downloadhomebrew-e31e58a00032bcecc3d9d28e0617a841c17e81f8.tar.bz2
influxdb: some cleanups.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/influxdb.rb20
1 files changed, 10 insertions, 10 deletions
diff --git a/Library/Formula/influxdb.rb b/Library/Formula/influxdb.rb
index bbc2045ee..d411b04c2 100644
--- a/Library/Formula/influxdb.rb
+++ b/Library/Formula/influxdb.rb
@@ -6,9 +6,9 @@ class Influxdb < Formula
sha1 "102f44c19f0b202205109b871f09ecdbadb38403"
bottle do
- sha1 '12101de682f664f213c1cbc8703789df0ba0648b' => :mavericks
- sha1 '1e6aab431a126a07accddfd391aa77cab9208067' => :mountain_lion
- sha1 'afb43b10959c140411ce75d051aa0635dd3aaaf5' => :lion
+ sha1 "12101de682f664f213c1cbc8703789df0ba0648b" => :mavericks
+ sha1 "1e6aab431a126a07accddfd391aa77cab9208067" => :mountain_lion
+ sha1 "afb43b10959c140411ce75d051aa0635dd3aaaf5" => :lion
end
depends_on "leveldb"
@@ -20,12 +20,12 @@ class Influxdb < Formula
def install
ENV["GOPATH"] = buildpath
- flex = Formula.factory('flex').bin/"flex"
- bison = Formula.factory('bison').bin/"bison"
+ flex = Formula.factory("flex").bin/"flex"
+ bison = Formula.factory("bison").bin/"bison"
system "./configure", "--with-flex=#{flex}", "--with-bison=#{bison}"
- system "make dependencies protobuf parser"
- system "go build daemon"
+ system "make", "dependencies", "protobuf", "parser"
+ system "go", "build", "daemon"
inreplace "config.toml.sample" do |s|
s.gsub! "/tmp/influxdb/development/db", "#{var}/influxdb/data"
@@ -37,8 +37,8 @@ class Influxdb < Formula
etc.install "config.toml.sample" => "influxdb.conf"
share.install "admin"
- (var/'influxdb/data').mkpath
- (var/'influxdb/raft').mkpath
+ (var/"influxdb/data").mkpath
+ (var/"influxdb/raft").mkpath
end
plist_options :manual => "influxdb -config=#{HOMEBREW_PREFIX}/etc/influxdb.conf"
@@ -74,6 +74,6 @@ class Influxdb < Formula
end
test do
- system "#{bin}/influxdb -v"
+ system "#{bin}/influxdb", "-v"
end
end