Skip to content

Commit

Permalink
htmlcompressor: migrate to archive URL
Browse files Browse the repository at this point in the history
  • Loading branch information
DomT4 committed Aug 28, 2016
1 parent 0510d8b commit 6deaa5b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Formula/htmlcompressor.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
class Htmlcompressor < Formula
desc "Minify HTML or XML"
homepage "https://code.google.com/p/htmlcompressor/"
url "https://htmlcompressor.googlecode.com/files/htmlcompressor-1.5.3.jar"
homepage "https://code.google.com/archive/p/htmlcompressor/"
url "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/htmlcompressor/htmlcompressor-1.5.3.jar"
sha256 "88894e330cdb0e418e805136d424f4c262236b1aa3683e51037cdb66310cb0f9"

bottle :unneeded
Expand Down Expand Up @@ -37,8 +37,7 @@ def install
</foo>
EOS

output = `#{bin}/htmlcompressor #{path}`.strip
output = shell_output("#{bin}/htmlcompressor #{path}").strip
assert_equal "<foo><bar/></foo>", output
assert_equal 0, $?.exitstatus
end
end

0 comments on commit 6deaa5b

Please sign in to comment.