Skip to content

Commit

Permalink
[skip ci] v1.3.0-develop.10
Browse files Browse the repository at this point in the history
  • Loading branch information
punq committed Oct 2, 2023
1 parent 19b79ac commit dd2988e
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions punq.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,62 +4,62 @@ class Punq < Formula

on_macos do
if Hardware::CPU.arm?
url "https://github.com/mogenius/homebrew-punq/releases/download/v1.3.0-develop.7/punq-v1.3.0-develop.7-darwin-arm64.tar.gz"
url "https://github.com/mogenius/homebrew-punq/releases/download/v1.3.0-develop.10/punq-v1.3.0-develop.10-darwin-arm64.tar.gz"
sha256 ""
elsif Hardware::CPU.intel?
url "https://github.com/mogenius/homebrew-punq/releases/download/v1.3.0-develop.7/punq-v1.3.0-develop.7-darwin-amd64.tar.gz"
url "https://github.com/mogenius/homebrew-punq/releases/download/v1.3.0-develop.10/punq-v1.3.0-develop.10-darwin-amd64.tar.gz"
sha256 ""
end
end

on_linux do
if Hardware::CPU.intel?
if Hardware::CPU.is_64_bit?
url "https://github.com/mogenius/homebrew-punq/releases/download/v1.3.0-develop.7/punq-v1.3.0-develop.7-linux-amd64.tar.gz"
url "https://github.com/mogenius/homebrew-punq/releases/download/v1.3.0-develop.10/punq-v1.3.0-develop.10-linux-amd64.tar.gz"
sha256 ""
else
url "https://github.com/mogenius/homebrew-punq/releases/download/v1.3.0-develop.7/punq-v1.3.0-develop.7-linux-386.tar.gz"
url "https://github.com/mogenius/homebrew-punq/releases/download/v1.3.0-develop.10/punq-v1.3.0-develop.10-linux-386.tar.gz"
sha256 ""
end
elif Hardware::CPU.arm?
if Hardware::CPU.is_64_bit?
url "https://github.com/mogenius/homebrew-punq/releases/download/v1.3.0-develop.7/punq-v1.3.0-develop.7-linux-arm64.tar.gz"
url "https://github.com/mogenius/homebrew-punq/releases/download/v1.3.0-develop.10/punq-v1.3.0-develop.10-linux-arm64.tar.gz"
sha256 ""
else
url "https://github.com/mogenius/homebrew-punq/releases/download/v1.3.0-develop.7/punq-v1.3.0-develop.7-linux-arm.tar.gz"
url "https://github.com/mogenius/homebrew-punq/releases/download/v1.3.0-develop.10/punq-v1.3.0-develop.10-linux-arm.tar.gz"
sha256 ""
end
end
end

version "1.3.0-develop.7"
version "1.3.0-develop.10"
license "MIT"

def install
if OS.mac?
if Hardware::CPU.arm?
# Installation steps for macOS ARM64
bin.install "punq-v1.3.0-develop.7-darwin-arm64" => "punq"
bin.install "punq-v1.3.0-develop.10-darwin-arm64" => "punq"
elsif Hardware::CPU.intel?
# Installation steps for macOS AMD64
bin.install "punq-v1.3.0-develop.7-darwin-amd64" => "punq"
bin.install "punq-v1.3.0-develop.10-darwin-amd64" => "punq"
end
elsif OS.linux?
if Hardware::CPU.intel?
if Hardware::CPU.is_64_bit?
# Installation steps for Linux AMD64
bin.install "punq-v1.3.0-develop.7-linux-amd64" => "punq"
bin.install "punq-v1.3.0-develop.10-linux-amd64" => "punq"
else
# Installation steps for Linux 386
bin.install "punq-v1.3.0-develop.7-linux-386" => "punq"
bin.install "punq-v1.3.0-develop.10-linux-386" => "punq"
end
elsif Hardware::CPU.arm?
if Hardware::CPU.is_64_bit?
# Installation steps for Linux ARM64
bin.install "punq-v1.3.0-develop.7-linux-arm64" => "punq"
bin.install "punq-v1.3.0-develop.10-linux-arm64" => "punq"
else
# Installation steps for Linux ARM
bin.install "punq-v1.3.0-develop.7-linux-arm" => "punq"
bin.install "punq-v1.3.0-develop.10-linux-arm" => "punq"
end
end
end
Expand Down

0 comments on commit dd2988e

Please sign in to comment.