Skip to content

Commit

Permalink
Rakefile: remove homebrew-formula-analytics
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick Linnane <[email protected]>
  • Loading branch information
p-linnane committed Feb 9, 2025
1 parent 8147153 commit 7e0b3d3
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,8 @@ task :casks do
end
CLOBBER.include FileList[%w[_data/cask _data/cask_canonical.json api/cask api/cask-source api/cask_tap_migrations.json cask]]

def setup_analytics
ENV["HOMEBREW_NO_AUTO_UPDATE"] = "1"
return if `brew tap`.include?("homebrew/formula-analytics")

sh "brew", "tap", "homebrew/formula-analytics"
end

desc "Dump analytics data"
task :analytics do
setup_analytics

sh "brew", "generate-analytics-api"
end
CLOBBER.include FileList[%w[_data/analytics api/analytics]]
Expand Down

0 comments on commit 7e0b3d3

Please sign in to comment.