3e3d5a101f
Closes Homebrew/homebrew#22700. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
19 lines
518 B
Ruby
19 lines
518 B
Ruby
require 'formula'
|
|
|
|
class Play < Formula
|
|
homepage 'http://www.playframework.org/'
|
|
head 'https://github.com/playframework/playframework.git'
|
|
url 'http://downloads.typesafe.com/play/2.2.0/play-2.2.0.zip'
|
|
sha1 '455b0c24cf94c8c59c03df0a1fd3bf7f33c2c953'
|
|
|
|
def install
|
|
system "./framework/build", "publish-local" if build.head?
|
|
|
|
# remove Windows .bat files
|
|
rm Dir['*.bat']
|
|
rm Dir["#{buildpath}/**/*.bat"] if build.head?
|
|
|
|
libexec.install Dir['*']
|
|
bin.install_symlink libexec/'play'
|
|
end
|
|
end
|