17 lines
507 B
Ruby
17 lines
507 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.3/play-2.2.3.zip'
|
|
sha1 '16beea55568a6b5876439ffbf908ba6448c5c713'
|
|
|
|
conflicts_with 'sox', :because => 'both install `play` binaries'
|
|
|
|
def install
|
|
system "./framework/build", "publish-local" if build.head?
|
|
rm_rf Dir["**/*.bat"]
|
|
libexec.install Dir['*']
|
|
bin.install_symlink libexec/'play'
|
|
end
|
|
end
|