Last active
September 29, 2015 17:43
-
-
Save fabioelia/7b4e95eb42f78a1ba0fe to your computer and use it in GitHub Desktop.
brew install "https://gist.githubusercontent.com/fabioelia/7b4e95eb42f78a1ba0fe/raw/236d8bfcc7034947272a9dafb145facd0a9786a2/flex_sdk.rb"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'formula' | |
| class FlexSdk < Formula | |
| url 'http://fpdownload.adobe.com/pub/flex/sdk/builds/flex4.5/flex_sdk_4.5.1.21328.zip' | |
| sha256 '537b55076050ce39a3444ea9a303a6bbf6cc2dc277f82a23a1f3d8455876c03d' | |
| homepage 'http://opensource.adobe.com/' | |
| version 'v4.5.1.21328' | |
| 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment