Skip to content

Commit

Permalink
Release 5.11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
twilio-dx committed Jul 13, 2023
1 parent 2c1156d commit 374d9c5
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Formula/twilio.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
class Twilio < Formula
desc "unleash the power of Twilio from your command prompt"
homepage "https://github.com/twilio/twilio-cli"
url "https://twilio-cli-prod.s3.amazonaws.com/twilio-v5.10.0/twilio-v5.10.0.tar.gz"
version "5.10.0"
sha256 "c6a8e02d7e6d04033875845d4c7e862ed4d1dc043d4fbf03827bf4ba886e9c05"
url "https://twilio-cli-prod.s3.amazonaws.com/twilio-v5.11.0/twilio-v5.11.0.tar.gz"
version "5.11.0"
sha256 "409864f5e5bc65cc32d180f133e27c27f92ad8a3d90a41484dab1d2cf539806e"
depends_on "node"

def install
Expand Down
21 changes: 21 additions & 0 deletions Formula/[email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
require "language/node"

class TwilioAT5100 < Formula
desc "unleash the power of Twilio from your command prompt"
homepage "https://github.com/twilio/twilio-cli"
url "https://twilio-cli-prod.s3.amazonaws.com/twilio-v5.10.0/twilio-v5.10.0.tar.gz"
version "5.10.0"
sha256 "c6a8e02d7e6d04033875845d4c7e862ed4d1dc043d4fbf03827bf4ba886e9c05"
depends_on "node"

def install
inreplace "bin/twilio", /^CLIENT_HOME=/, "export TWILIO_OCLIF_CLIENT_HOME=#{lib/"client"}\nCLIENT_HOME="
libexec.install Dir["*"]
bin.install_symlink libexec/"bin/twilio"
end

def post_install
pid = spawn("node #{libexec}/welcome.js")
Process.wait pid
end
end

0 comments on commit 374d9c5

Please sign in to comment.