Skip to content

Instantly share code, notes, and snippets.

@tamagokun
Last active July 14, 2017 12:29
Show Gist options
  • Save tamagokun/a5b76de48d11e30db6e5fa8346387095 to your computer and use it in GitHub Desktop.
Save tamagokun/a5b76de48d11e30db6e5fa8346387095 to your computer and use it in GitHub Desktop.
require 'formula'
class FlexSdk < Formula
homepage "http://www.adobe.com/devnet/flex.html"
url "http://download.macromedia.com/pub/flex/sdk/flex_sdk_4.6.zip"
sha256 "622b63f29de44600ff8d4231174a70fcb3085812c0e146a42e91877ca8b46798"
def install
Dir['*'].each { |file| cp_r file, File.join( prefix, File.basename(file) ) }
ohai %{You will need to add the Flex SDK to your path:}
ohai %{ export PATH="#{bin}":$PATH}
end
end
@tamagokun
Copy link
Author

tamagokun commented Jul 14, 2017

brew install "https://gist.github.com/tamagokun/a5b76de48d11e30db6e5fa8346387095/raw/826af79c4a77749c63b7b7c5c61fdc6388ed1430/flex_sdk.rb"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment