Skip to content

Commit

Permalink
buck.rb syntax fix for ruby1.9 (#42)
Browse files Browse the repository at this point in the history
Co-authored-by: v-jizhang <66389669+buck-bot@users.noreply.github.com>
  • Loading branch information
Jinlin Zhang and buck-bot committed Sep 1, 2020
1 parent e1c4012 commit 6e3ed43
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions buck.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# frozen_string_literal: true

class Buck < Formula
BUCK_VERSION = "2020.06.29.01".freeze
BUCK_RELEASE_TIMESTAMP = "1593441972".freeze
BUCK_VERSION = "2020.06.29.01"
BUCK_RELEASE_TIMESTAMP = "1593441972"
desc "The Buck build system"
homepage "https://buckbuild.com/"
url "https://github.com/facebook/buck/archive/v#{BUCK_VERSION}.tar.gz"
Expand All @@ -14,7 +16,7 @@ class Buck < Formula
end

depends_on "ant@1.9"
depends_on :java => "1.8"
depends_on java: "1.8"

def install
# First, bootstrap the build by building Buck with Apache Ant.
Expand Down

0 comments on commit 6e3ed43

Please sign in to comment.