diff options
| author | Alpha Chen | 2014-04-27 13:50:06 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2014-04-28 20:36:34 -0700 |
| commit | 69c8e69264173c8ae583ec690b7988c6c12a171a (patch) | |
| tree | e9af717f777e9d7745e5f291c6e6d5faf6115708 /Library | |
| parent | 4b8f749e6d8f797c66874efd5e24bd5b211f1e3c (diff) | |
| download | homebrew-69c8e69264173c8ae583ec690b7988c6c12a171a.tar.bz2 | |
teensy_loader_cli 2.1
Add teensy_loader_cli 2.1
Closes #28773.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/teensy_loader_cli.rb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Library/Formula/teensy_loader_cli.rb b/Library/Formula/teensy_loader_cli.rb new file mode 100644 index 000000000..2e64d6753 --- /dev/null +++ b/Library/Formula/teensy_loader_cli.rb @@ -0,0 +1,18 @@ +require "formula" + +class TeensyLoaderCli < Formula + homepage "https://www.pjrc.com/teensy/loader_cli.html" + url "https://www.pjrc.com/teensy/teensy_loader_cli.2.1.zip" + sha1 "041459720e733f78ba4e6a14abdbaa8bf04eb007" + + def install + ENV['OS'] = 'MACOSX' + ENV['SDK'] = MacOS.sdk_path + system "make" + bin.install "teensy_loader_cli" + end + + test do + assert `#{bin}/teensy_loader_cli 2>&1`.include?('<MCU> = atmega32u4 | at90usb162 | at90usb646 | at90usb1286') + end +end |
