Typesafe Activator 1.0.0

Closes Homebrew/homebrew#22921.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
master
Jason Ryan Womack 2013-09-29 01:07:07 -06:00 committed by Adam Vandenberg
parent 6db60e0f93
commit c0d4810fbd
1 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,20 @@
require 'formula'
class TypesafeActivator < Formula
homepage 'http://typesafe.com/activator'
url 'http://downloads.typesafe.com/typesafe-activator/1.0.0/typesafe-activator-1.0.0.zip'
sha1 '9bbe02637e15f401fab28fcfbb038c43c17fbeba'
def install
system "./framework/build", "publish-local"
# remove Windows .bat files
rm Dir['*.bat']
rm Dir["#{buildpath}/**/*.bat"]
prefix.install_metafiles
libexec.install Dir['*']
bin.write_exec_script libexec/'activator'
end
end