Last active
October 6, 2015 02:19
-
-
Save fabioelia/1336661b8b85d6535630 to your computer and use it in GitHub Desktop.
brew install "https://gist.githubusercontent.com/fabioelia/1336661b8b85d6535630/raw/303e6f5fba858361795d73ab2ce74d90216d8597/adobe-air-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
| # 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/18.0/AIRSDK_Compiler.tbz2" | |
| version "18.0.0.180" | |
| sha256 "2fddd0d58d909c38fb91448fdb16029045a19d9f5d203519e23a3fcd9c42d27d" | |
| # 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