Skip to content

Commit

Permalink
rename formula
Browse files Browse the repository at this point in the history
  • Loading branch information
bhageena committed Jul 27, 2021
1 parent 72101d3 commit bc5a274
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Formula/nimbella-node.rb → Formula/nim-node.rb
@@ -1,5 +1,5 @@

class NimbellaNode < Formula
class NimNode < Formula
desc "node.js dependency for nimbella"
homepage "https://docs.nimbella.com/command-summary"
url "https://nodejs.org/download/release/v14.4.0/node-v14.4.0-darwin-x64.tar.xz"
Expand Down
4 changes: 2 additions & 2 deletions Formula/nimbella.rb → Formula/nim.rb
@@ -1,5 +1,5 @@

class Nimbella < Formula
class Nim < Formula
desc "Everything you need to get started with Nimbella"
homepage "https://docs.nimbella.com/command-summary"
url "https://apigcp.nimbella.io/downloads/nim/nim-v1.16.0/nim-v1.16.0.tar.gz"
Expand All @@ -8,7 +8,7 @@ class Nimbella < Formula

def install
inreplace "bin/nim", /^CLIENT_HOME=/, "export NIMBELLA_OCLIF_CLIENT_HOME=#{lib/"client"}\nCLIENT_HOME="
inreplace "bin/nim", "\"$DIR/node\"", Formula["nimbella-node"].opt_bin/"node"
inreplace "bin/nim", "\"$DIR/node\"", Formula["nim-node"].opt_bin/"node"
libexec.install Dir["*"]
bin.install_symlink libexec/"bin/nim"

Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -3,7 +3,7 @@ Nimbella Homebrew Tap

Install the Nimbella CLI with

$ brew install nimbella/brew/nimbella
$ brew install nimbella/brew/nim


For more information, visit https://docs.nimbella.com
4 changes: 2 additions & 2 deletions scripts/test
Expand Up @@ -3,8 +3,8 @@
set -ex

brew update
#brew audit --new-formula Formula/nimbella-cli.rb
brew install Formula/nimbella-cli.rb
#brew audit --new-formula Formula/nim.rb
brew install Formula/nim.rb
nim version
nim help

Expand Down

0 comments on commit bc5a274

Please sign in to comment.