Skip to content

Commit

Permalink
Merge pull request #138314 from osalbahr/bump-docfx-2.70.0
Browse files Browse the repository at this point in the history
docfx 2.70.0
  • Loading branch information
BrewTestBot authored Aug 4, 2023
2 parents 5348a16 + c3a94fc commit 44a33d8
Showing 1 changed file with 15 additions and 10 deletions.
25 changes: 15 additions & 10 deletions Formula/docfx.rb
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
class Docfx < Formula
desc "Tools for building and publishing API documentation for .NET projects"
homepage "https://dotnet.github.io/docfx/"
url "https://github.com/dotnet/docfx/archive/refs/tags/v2.63.0.tar.gz"
sha256 "78b244b7af1c056825f603ad6364dd3576e7ff9baefffd7c0f4ce8eb905c9122"
url "https://github.com/dotnet/docfx/archive/refs/tags/v2.70.0.tar.gz"
sha256 "985b7bc49c4fe02d920590107e1f2fe73bd9b3f96bf3cb3d1f8aa09188a32659"
license "MIT"

bottle do
sha256 cellar: :any_skip_relocation, arm64_ventura: "556c1d067c96620e57dd2babbc44aae47c81307ab2f708232455c14abdeddf50"
sha256 cellar: :any_skip_relocation, arm64_monterey: "c6d2b0157174e85b9d43bd3a07ada880faca637a632a9cb131ba9ea769a30c5d"
sha256 cellar: :any_skip_relocation, arm64_big_sur: "e1ddd6630232bf54599ba12f3c95059ec85c25eaa46b54a9ce0cad73d62ff685"
sha256 cellar: :any_skip_relocation, ventura: "94de3923426b9f1ac19fce443e0f3426a99f499aeb689103b47c2df291227531"
sha256 cellar: :any_skip_relocation, monterey: "e5124890a8fe533417b89475a0270d5d6c364c821d482c72a9f71e4ecbe7abd7"
sha256 cellar: :any_skip_relocation, big_sur: "39e162cf91d2bf849f009d03947de2a57aae20ab25db749934ec2acbaf570870"
sha256 cellar: :any_skip_relocation, x86_64_linux: "b50ef0c7be24a1bbd06f5fb242d93033be8cf02ac398dc930f52068f1df520ff"
sha256 cellar: :any_skip_relocation, arm64_ventura: "e45da8277bf33a61d7d7eee3641ff8eda6fc1b85383f46956da72051f8509855"
sha256 cellar: :any_skip_relocation, arm64_monterey: "cbcce54f023a65bac48c24693996e9b3c86ad97fe090d6d2a8b3523aee290b58"
sha256 cellar: :any_skip_relocation, arm64_big_sur: "4f25d563de450b300259edda687f0f6c17ba368ee5b9911da400556aac23085b"
sha256 cellar: :any_skip_relocation, ventura: "c2f99ddc4bd049081e0e945cd25dafc282509a2a5648f54c1aa3d5693ddb2625"
sha256 cellar: :any_skip_relocation, monterey: "0338ee28b5989d6e97739fc85a40a8e726339f4b97b610b9cb9299a94029018d"
sha256 cellar: :any_skip_relocation, big_sur: "7ed39d8d2ef5a6e27de481a264d52f026bcb118772de50b693ac212abdc61e81"
sha256 cellar: :any_skip_relocation, x86_64_linux: "7b056e9a8a772b60f294631d82908420544f662397d0e3de45a5ada2740007b6"
end

depends_on "dotnet"
Expand All @@ -22,13 +22,18 @@ def install
os = OS.mac? ? "osx" : OS.kernel_name.downcase
arch = Hardware::CPU.intel? ? "x64" : Hardware::CPU.arch.to_s

# specify the target framework to only target the currently used version of
# .NET, otherwise additional frameworks will be added due to this running
# inside of GitHub Actions, for details see:
# https://github.com/dotnet/docfx/blob/main/Directory.Build.props#L3-L5
args = %W[
--configuration Release
--framework net#{dotnet.version.major_minor}
--output #{libexec}
--runtime #{os}-#{arch}
--no-self-contained
/p:Version=#{version}
-p:Version=#{version}
-p:TargetFrameworks=net#{dotnet.version.major_minor}
]

system "dotnet", "publish", "src/docfx", *args
Expand Down

0 comments on commit 44a33d8

Please sign in to comment.