Conversation
@@ -0,0 +1,31 @@ | |||
require 'formula' | |||
|
|||
BUILD="1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
inline this stuff
@adamv done. 😄 |
Does the go build pull down any dependencies? |
No, all sources needed are included in the tarball. |
@BrewTestBot test this please |
@adamv I've added a devel block to use the latest development version, is it ok to push to this pull request? Here is the diff: diff --git a/Library/Formula/juju.rb b/Library/Formula/juju.rb
index 6fd8c7b..5584933 100644
--- a/Library/Formula/juju.rb
+++ b/Library/Formula/juju.rb
@@ -9,6 +9,11 @@ class Juju < Formula
depends_on 'go' => :build
+ devel do
+ url "https://launchpad.net/juju-core/trunk/1.13.1/+download/juju-core_1.13.1.tar.gz"
+ sha1 "1c1346378763d6aa469c434c1467b8ea4f8530be"
+ end
+
def install
ENV['GOPATH'] = buildpath |
I've asked the build bot to run a test on this. |
require 'formula' | ||
|
||
class Juju < Formula | ||
homepage 'https://launchpad.net/juju-core' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Homepage should be more useful: https://juju.ubuntu.com/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed.
@BrewTestBot test this please |
Closes Homebrew#21858. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Huge thanks! Well done! |
Closes Homebrew#21858. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Juju reached the 1.12.0 stable [1] version. As discussed on #21185 this Formula will compile Juju from source.
[1] https://launchpad.net/~juju/+archive/stable