Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
PythonCoderAS committed May 29, 2022
1 parent bd97c07 commit 9067d7b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions github-list-all-prs.rb → Formula/github-list-all-prs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,13 @@ class GithubListAllPrs < Formula
depends_on "node"

def install
# Call rm -f instead of rimraf, because devDeps aren't present in Homebrew at postpack time
inreplace "package.json", "shx rm -f oclif.manifest.json", "rm -f oclif.manifest.json"
system "npm", "install", *Language::Node.std_npm_install_args(libexec)
bin.install_symlink Dir["#{libexec}/bin/*"]

# Replace universal binaries with their native slices
deuniversalize_machos
end

test do
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,13 @@ class GithubWatchAllRepos < Formula
depends_on "node"

def install
# Call rm -f instead of rimraf, because devDeps aren't present in Homebrew at postpack time
inreplace "package.json", "shx rm -f oclif.manifest.json", "rm -f oclif.manifest.json"
system "npm", "install", *Language::Node.std_npm_install_args(libexec)
bin.install_symlink Dir["#{libexec}/bin/*"]

# Replace universal binaries with their native slices
deuniversalize_machos
end

test do
Expand Down

0 comments on commit 9067d7b

Please sign in to comment.