aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMike McQuaid2015-01-07 12:06:04 +0000
committerMike McQuaid2015-01-07 12:06:04 +0000
commitda7ca603e50cc002ab749732dc30e5a7615844f4 (patch)
tree8f474b7d169698a42505dc073444bb7f91b21473 /Library/Formula
parent4dd3f2446453ebd3a7ed50ff8cafe2fac35f5ff4 (diff)
downloadhomebrew-da7ca603e50cc002ab749732dc30e5a7615844f4.tar.bz2
Revert "atlassian-bamboo 5.7.2 (new formula)"
This reverts commit 8adc8b35f4f46d362d1059eefc4cbfc637bb135b.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/atlassian-bamboo.rb61
1 files changed, 0 insertions, 61 deletions
diff --git a/Library/Formula/atlassian-bamboo.rb b/Library/Formula/atlassian-bamboo.rb
deleted file mode 100644
index ac76f6746..000000000
--- a/Library/Formula/atlassian-bamboo.rb
+++ /dev/null
@@ -1,61 +0,0 @@
-class AtlassianBamboo < Formula
- homepage "https://www.atlassian.com/software/bamboo"
- url "http://www.atlassian.com/software/bamboo/downloads/binary/atlassian-bamboo-5.7.2.tar.gz"
- sha256 "b378500ea61803333fc27b0a42cfbdfbce5dccc75cead0b464dbc4e5e0bddb17"
-
- depends_on :java => "1.7"
-
- def install
- data = var/"bamboo-home"
- inreplace "atlassian-bamboo/WEB-INF/classes/bamboo-init.properties",
- '#bamboo.home=C:/bamboo/bamboo-home', "bamboo.home=#{data}"
-
- libexec.install Dir["*"]
-
- bin.install_symlink libexec/"bin/start-bamboo.sh"
- bin.install_symlink libexec/"bin/stop-bamboo.sh"
- end
-
- def post_install
- # Make sure runtime directories exist
- (var/"bamboo-home").mkpath
- end
-
- plist_options :manual => "#{HOMEBREW_PREFIX}/opt/atlassian-bamboo/libexec/bin/start-bamboo.sh"
-
- def plist; <<-EOS.undent
- <?xml version="1.0" encoding="UTF-8"?>
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
- <plist version="1.0">
- <dict>
- <key>Label</key>
- <string>#{plist_name}</string>
-
- <key>WorkingDirectory</key>
- <string>#{libexec}</string>
-
- <key>ProgramArguments</key>
- <array>
- <string>bin/start-bamboo.sh</string>
- <string>-fg</string>
- </array>
-
- <key>KeepAlive</key>
- <true/>
- </dict>
- </plist>
- EOS
- end
-
- def caveats; <<-EOS.undent
- Once started Bamboo will listen on http://localhost:8085/
-
- If you have Java 7 installed along with other versions, try:
- JAVA_HOME=$(/usr/libexec/java_home -v 1.7) brew install atlassian-bamboo
- EOS
- end
-
- test do
- system "#{libexec}/bin/version.sh"
- end
-end