Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 508b267

Browse files
committed
Added github-copy-secrets formulae
1 parent ca8242b commit 508b267

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

Formula/github-copy-secrets.rb

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
require "language/node"
2+
3+
class GithubCopySecrets < Formula
4+
desc "Copy given secrets to a repository"
5+
homepage "https://github.com/PythonCoderAS/github-copy-secrets#readme"
6+
url "https://registry.npmjs.org/github-copy-secrets/-/github-copy-secrets-1.0.0.tgz"
7+
sha256 "9a8eed4268e797f459df97a30d040b983f18548c8bac81072b50a25686d4e9c9"
8+
license "MIT"
9+
10+
livecheck do
11+
url :stable
12+
end
13+
14+
depends_on "node"
15+
16+
def install
17+
system "npm", "install", *Language::Node.std_npm_install_args(libexec)
18+
bin.install_symlink Dir["#{libexec}/bin/*"]
19+
end
20+
21+
test do
22+
raise "Test not implemented."
23+
end
24+
end

Formula/github-watch-all-repos.rb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@ class GithubWatchAllRepos < Formula
99

1010
livecheck do
1111
url :stable
12-
eshx, because devDeps aren't present in Homebrew at postpack time
12+
end
13+
14+
def install
15+
# Call rm -f instead of shx, because devDeps aren't present in Homebrew at postpack time
1316
inreplace "package.json", "shx rm -f oclif.manifest.json", "rm -f oclif.manifest.json"
1417
system "npm", "install", *Language::Node.std_npm_install_args(libexec)
1518
bin.install_symlink Dir["#{libexec}/bin/*"]

0 commit comments

Comments
 (0)