Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Update formula: sonar 3.2.1 #15275

Closed
wants to merge 2 commits into from

2 participants

@dgageot

No description provided.

@adamv adamv closed this pull request from a commit
@dgageot dgageot Sonar 3.2.1
Closes #15275.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
94eecd4
@adamv adamv closed this in 94eecd4
@allenhuang allenhuang referenced this pull request from a commit
Commit has since been removed from the repository and is no longer available.
@theirix theirix referenced this pull request from a commit
Commit has since been removed from the repository and is no longer available.
@snakeyroc3 snakeyroc3 referenced this pull request from a commit in snakeyroc3/homebrew
@dgageot dgageot Sonar 3.2.1
Closes #15275.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
1decb71
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 3, 2012
  1. @dgageot
  2. @dgageot

    Update Formula Sonar 3.2.1

    dgageot authored
This page is out of date. Refresh to see the latest.
Showing with 13 additions and 14 deletions.
  1. +13 −14 Library/Formula/sonar.rb
View
27 Library/Formula/sonar.rb
@@ -2,8 +2,8 @@
class Sonar < Formula
homepage 'http://www.sonarsource.org'
- url 'http://dist.sonar.codehaus.org/sonar-3.2.zip'
- sha1 'a6ec8855e4b365a89c07d688a8a1af04358237bb'
+ url 'http://dist.sonar.codehaus.org/sonar-3.2.1.zip'
+ sha1 'de9300463b8d1eb728bc311f8bdbba7fe351d452'
def install
# Delete native bin directories for other systems
@@ -26,20 +26,19 @@ def install
end
end
- def caveats; <<-EOS
-If this is your first install, automatically load on login with:
- mkdir -p ~/Library/LaunchAgents
- cp #{plist_path} ~/Library/LaunchAgents/
- launchctl load -w ~/Library/LaunchAgents/#{plist_path.basename}
+ def caveats; <<-EOS.undent
+ If this is your first install, automatically load on login with:
+ mkdir -p ~/Library/LaunchAgents
+ ln -nfs #{plist_path} ~/Library/LaunchAgents/
+ launchctl load -w ~/Library/LaunchAgents/#{plist_path.basename}
-If this is an upgrade and you already have the #{plist_path.basename} loaded:
- launchctl unload -w ~/Library/LaunchAgents/#{plist_path.basename}
- cp #{plist_path} ~/Library/LaunchAgents/
- launchctl load -w ~/Library/LaunchAgents/#{plist_path.basename}
+ If this is an upgrade and you already have the #{plist_path.basename} loaded:
+ launchctl unload -w ~/Library/LaunchAgents/#{plist_path.basename}
+ launchctl load -w ~/Library/LaunchAgents/#{plist_path.basename}
-Or start it manually:
- #{HOMEBREW_PREFIX}/bin/sonar console
-EOS
+ Or start it manually:
+ #{HOMEBREW_PREFIX}/bin/sonar console
+ EOS
end
def startup_plist
Something went wrong with that request. Please try again.