Giter8 0.3.2
Closes Homebrew/homebrew#9201. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
b70c3bd2d8
commit
64de4a2891
1 changed files with 7 additions and 7 deletions
|
@ -1,27 +1,27 @@
|
|||
require 'formula'
|
||||
|
||||
class Giter8 < Formula
|
||||
url "http://simple-build-tool.googlecode.com/files/sbt-launch-0.7.4.jar"
|
||||
url "http://typesafe.artifactoryonline.com/typesafe/ivy-releases/org.scala-tools.sbt/sbt-launch/0.11.2/sbt-launch.jar"
|
||||
homepage 'http://github.com/n8han/giter8'
|
||||
md5 '8903fb141037056a497925f3efdb9edf'
|
||||
version '0.2.2'
|
||||
md5 '2886cc391e38fa233b3e6c0ec9adfa1e'
|
||||
version '0.3.2'
|
||||
|
||||
def exec_script
|
||||
<<-EOS
|
||||
#!/bin/sh
|
||||
exec java -Xmx512M -jar #{prefix}/sbt-launch-0.7.4.jar @giter8.launchconfig "$@"
|
||||
exec java -Xmx512M -jar #{prefix}/sbt-launch.jar @giter8.launchconfig "$@"
|
||||
EOS
|
||||
end
|
||||
|
||||
def config_script
|
||||
<<-EOS
|
||||
[app]
|
||||
version: 0.2.2
|
||||
version: 0.3.2
|
||||
org: net.databinder
|
||||
name: giter8
|
||||
class: giter8.Giter8
|
||||
[scala]
|
||||
version: 2.8.1
|
||||
version: 2.9.1
|
||||
[repositories]
|
||||
local
|
||||
maven-local
|
||||
|
@ -37,7 +37,7 @@ exec java -Xmx512M -jar #{prefix}/sbt-launch-0.7.4.jar @giter8.launchconfig "$@"
|
|||
def install
|
||||
(bin+'g8').write exec_script
|
||||
(prefix+'giter8.launchconfig').write config_script
|
||||
prefix.install 'sbt-launch-0.7.4.jar'
|
||||
prefix.install 'sbt-launch.jar'
|
||||
end
|
||||
|
||||
def caveats; <<-EOS
|
||||
|
|
Loading…
Reference in a new issue