Skip to content

Commit

Permalink
fmt 3.0.0
Browse files Browse the repository at this point in the history
renamed from cppformat, new version 3.0.0

Closes #1625.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
  • Loading branch information
tcbrindle authored and DomT4 committed Jun 4, 2016
1 parent fa58317 commit 1e1dfe4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Formula/cppformat.rb → Formula/fmt.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class Cppformat < Formula
class Fmt < Formula
desc "Open-source formatting library for C++"
homepage "https://cppformat.github.io/"
url "https://github.com/cppformat/cppformat/releases/download/2.1.1/cppformat-2.1.1.zip"
sha256 "7c6c739291c4a97eec95a758b2a2243f43c79dfa2d1e94e33c09a6736de6c427"
homepage "https://fmtlib.github.io/"
url "https://github.com/fmtlib/fmt/releases/download/3.0.0/fmt-3.0.0.zip"
sha256 "1b050b66fa31b74f1d75a14f15e99e728ab79572f176a53b2f8ad7c201c30ceb"

bottle do
cellar :any_skip_relocation
Expand All @@ -22,7 +22,7 @@ def install
(testpath/"test.cpp").write <<-EOS.undent
#include <iostream>
#include <string>
#include <cppformat/format.h>
#include <fmt/format.h>
int main()
{
std::string str = fmt::format("The answer is {}", 42);
Expand All @@ -34,7 +34,7 @@ def install
system ENV.cxx, "test.cpp", "-o", "test",
"-I#{include}",
"-L#{lib}",
"-lcppformat"
"-lfmt"
assert_equal "The answer is 42", shell_output("./test")
end
end
1 change: 1 addition & 0 deletions formula_renames.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"app-engine-java-sdk": "app-engine-java",
"beanstalk": "beanstalkd",
"letsencrypt": "certbot",
"cppformat": "fmt",
"crystal": "autocode",
"cv": "progress",
"cyassl": "wolfssl",
Expand Down

0 comments on commit 1e1dfe4

Please sign in to comment.