Last active
November 16, 2015 19:34
-
-
Save fabioelia/3fa8f14f75b5350f7c20 to your computer and use it in GitHub Desktop.
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
| # Find downloads at: https://helpx.adobe.com/air/kb/archived-air-sdk-version.html | |
| class AdobeAirSdk < Formula | |
| homepage "https://www.adobe.com/devnet/air/air-sdk-download.html" | |
| url "http://airdownload.adobe.com/air/mac/download/19.0/AIRSDK_Compiler.tbz2" | |
| version "19.0.0.190" | |
| sha256 "a724d7cae0f9602551e714a9e7ac77217e027de0bb957c9dad4f5596ea5d2c8c" | |
| # conflicts_with "adobe-air-sdk-flex" | |
| def install | |
| rm_f Dir["bin/*.bat"] | |
| libexec.install Dir["*"] | |
| bin.write_exec_script Dir["#{libexec}/bin/*"] | |
| end | |
| def caveats; <<-EOS.undent | |
| To set AIR_HOME: | |
| export AIR_HOME=#{libexec} | |
| EOS | |
| end | |
| test do | |
| assert_equal "#{version}\n", shell_output("#{bin}/adt -version") | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment