Skip to content

Commit

Permalink
Release 3.1.0-draft.2
Browse files Browse the repository at this point in the history
  • Loading branch information
twilio-dx committed Feb 23, 2022
1 parent ee45833 commit b732cdf
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Formula/twiliodraft.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
class Twiliodraft < 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/channels/draft/twilio-v2.35.0-draft.1/twilio-v2.35.0-draft.1.tar.gz"
version "2.35.0-draft.1"
sha256 "bb8252cca1cce30051da332fc46141938c6339b14d9e1d3164669a68854e72d3"
url "https://twilio-cli-prod.s3.amazonaws.com/channels/draft/twilio-v3.1.0-draft.2/twilio-v3.1.0-draft.2.tar.gz"
version "3.1.0-draft.2"
sha256 "8a43bb3b8a93e0c221d971be30ad96e4ffb38d85bcb1d006671aa57992761e4f"
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 TwiliodraftAT2350Draft1 < 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/channels/draft/twilio-v2.35.0-draft.1/twilio-v2.35.0-draft.1.tar.gz"
version "2.35.0-draft.1"
sha256 "bb8252cca1cce30051da332fc46141938c6339b14d9e1d3164669a68854e72d3"
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 b732cdf

Please sign in to comment.