aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYasuharu NAKANO2011-08-04 19:34:56 +0900
committerAdam Vandenberg2011-08-04 08:14:31 -0700
commita187976d41a002a33ac73e38e07b4406d11f95e4 (patch)
tree9c530d99b999f1d67a32e90c2a5174c2b8727bdd
parent36961939ee979771ca1f001c3bb481d0974a72b4 (diff)
downloadhomebrew-a187976d41a002a33ac73e38e07b4406d11f95e4.tar.bz2
groovyserv 0.9
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
-rw-r--r--Library/Formula/groovyserv.rb11
1 files changed, 5 insertions, 6 deletions
diff --git a/Library/Formula/groovyserv.rb b/Library/Formula/groovyserv.rb
index ced22e333..c7f1cc43d 100644
--- a/Library/Formula/groovyserv.rb
+++ b/Library/Formula/groovyserv.rb
@@ -2,19 +2,18 @@ require 'formula'
class Groovyserv < Formula
homepage 'http://kobo.github.com/groovyserv/'
- url 'https://github.com/downloads/kobo/groovyserv/groovyserv-0.8_src.zip'
- sha1 '0b934c76d2bc71f0661dbcc36ef83dc33938051c'
+ url 'https://github.com/downloads/kobo/groovyserv/groovyserv-0.9-src.zip'
+ sha1 '54464608f90a381b44cf7959136e1b1f31a3919c'
head 'http://github.com/kobo/groovyserv.git', :using => :git
+ depends_on 'gradle' => :build
depends_on 'groovy'
- depends_on 'maven'
def install
- # Build
- system 'mvn package -Dmaven.test.skip=true'
+ system 'gradle clean executables'
# Install executables in libexec to avoid conflicts
- Dir::chdir Dir['target/groovyserv-*/groovyserv-*/'].first do
+ Dir::chdir Dir['build/executables/'].first do
libexec.install %w{bin lib}
end
prefix.install %w{LICENSE.txt README.txt NOTICE.txt}