aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/gti.rb
diff options
context:
space:
mode:
authorRob Hanlon2012-08-15 17:48:02 -0700
committerAdam Vandenberg2012-08-26 18:03:40 -0700
commit50ef14c3169b3c5eea02f56100818f03a9cfe80f (patch)
tree5cf5e81d31231d7195c7077c88dcc7ab9de0c949 /Library/Formula/gti.rb
parenta39ef53023eab7e408f181351950c52f96322a68 (diff)
downloadhomebrew-50ef14c3169b3c5eea02f56100818f03a9cfe80f.tar.bz2
gti 1.0.3
From the homepage: "It's a program that displays a badly made ASCII-art animation to punish you for your typing error - and after that magically launches the command you meant to launch. The code is available under an MIT-like license on github - though of course anybody can write his or her own version in a couple of minutes. This whole thing is heavily inspired by sl, which displays a steam locomotive. However, gti is actually nicer than sl as it at least executes git after the animation. :-)" Closes #14223. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/gti.rb')
-rw-r--r--Library/Formula/gti.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/Library/Formula/gti.rb b/Library/Formula/gti.rb
new file mode 100644
index 000000000..1526caecd
--- /dev/null
+++ b/Library/Formula/gti.rb
@@ -0,0 +1,14 @@
+require 'formula'
+
+class Gti < Formula
+ homepage 'http://r-wos.org/hacks/gti'
+ url 'https://github.com/rwos/gti/tarball/v1.0.3'
+ sha1 '53ccd11466af6b859e5ec2ceec30f39bdc50c451'
+
+ head 'git://github.com/rwos/gti.git'
+
+ def install
+ system 'make', "CC=#{ENV.cc}", "CFLAGS=#{ENV.cflags}"
+ bin.install 'gti'
+ end
+end