Skip to content

Commit

Permalink
Release 1.1.13
Browse files Browse the repository at this point in the history
  • Loading branch information
twilio-dx committed Nov 30, 2022
1 parent ef3b473 commit 3d403bf
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-dev.s3.amazonaws.com/twilio-v1.1.2/twilio-v1.1.2.tar.gz"
version "1.1.2"
sha256 "94cf4ae7d90d2ce1bdf4ba41c1d0532064314ccbd29b8a7aabbe98e946f2159c"
url "https://twilio-cli-dev.s3.amazonaws.com/twilio-v1.1.13/twilio-v1.1.13.tar.gz"
version "1.1.13"
sha256 "1ae152f7962f97e0f53b1bffb45c8c67426eaa7d507d0c96e36ba1bec5954c06"
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 TwilioAT112 < Formula
desc "unleash the power of Twilio from your command prompt"
homepage "https://github.com/twilio/twilio-cli"
url "https://twilio-cli-dev.s3.amazonaws.com/twilio-v1.1.2/twilio-v1.1.2.tar.gz"
version "1.1.2"
sha256 "94cf4ae7d90d2ce1bdf4ba41c1d0532064314ccbd29b8a7aabbe98e946f2159c"
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 3d403bf

Please sign in to comment.