aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/tegh.rb17
1 files changed, 17 insertions, 0 deletions
diff --git a/Library/Formula/tegh.rb b/Library/Formula/tegh.rb
new file mode 100644
index 000000000..7baf482f5
--- /dev/null
+++ b/Library/Formula/tegh.rb
@@ -0,0 +1,17 @@
+require 'formula'
+
+class Tegh < Formula
+ homepage 'https://github.com/D1plo1d/tegh'
+ head 'https://github.com/D1plo1d/tegh.git', :branch => 'develop'
+ url 'https://s3.amazonaws.com/tegh_binaries/0.3.1/tegh-0.3.1-brew.tar.gz'
+ sha1 '7061165db148a27d229563e340d6c691b4fd92a8'
+
+ depends_on 'node'
+
+ def install
+ rm "bin/tegh.bat"
+ system "npm", "install" if build.head?
+ libexec.install Dir['*']
+ bin.install_symlink Dir["#{libexec}/bin/*"]
+ end
+end