Typesafe Activator 1.0.0
Closes Homebrew/homebrew#22921. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
6db60e0f93
commit
c0d4810fbd
1 changed files with 20 additions and 0 deletions
20
Formula/typesafe-activator.rb
Normal file
20
Formula/typesafe-activator.rb
Normal 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
|
Loading…
Reference in a new issue