groovyserv 0.9
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
db79db28b2
commit
87fcec5c00
1 changed files with 5 additions and 6 deletions
|
@ -2,19 +2,18 @@ require 'formula'
|
||||||
|
|
||||||
class Groovyserv < Formula
|
class Groovyserv < Formula
|
||||||
homepage 'http://kobo.github.com/groovyserv/'
|
homepage 'http://kobo.github.com/groovyserv/'
|
||||||
url 'https://github.com/downloads/kobo/groovyserv/groovyserv-0.8_src.zip'
|
url 'https://github.com/downloads/kobo/groovyserv/groovyserv-0.9-src.zip'
|
||||||
sha1 '0b934c76d2bc71f0661dbcc36ef83dc33938051c'
|
sha1 '54464608f90a381b44cf7959136e1b1f31a3919c'
|
||||||
head 'http://github.com/kobo/groovyserv.git', :using => :git
|
head 'http://github.com/kobo/groovyserv.git', :using => :git
|
||||||
|
|
||||||
|
depends_on 'gradle' => :build
|
||||||
depends_on 'groovy'
|
depends_on 'groovy'
|
||||||
depends_on 'maven'
|
|
||||||
|
|
||||||
def install
|
def install
|
||||||
# Build
|
system 'gradle clean executables'
|
||||||
system 'mvn package -Dmaven.test.skip=true'
|
|
||||||
|
|
||||||
# Install executables in libexec to avoid conflicts
|
# 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}
|
libexec.install %w{bin lib}
|
||||||
end
|
end
|
||||||
prefix.install %w{LICENSE.txt README.txt NOTICE.txt}
|
prefix.install %w{LICENSE.txt README.txt NOTICE.txt}
|
||||||
|
|
Loading…
Reference in a new issue