mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-27 04:59:27 -05:00
gnu: java-stringtemplate-3: Enable tests.
* gnu/packages/java.scm (java-stringtemplate-3)[arguments]: Enable tests; add build phase to fix tests.
This commit is contained in:
parent
129d926d26
commit
2fcda6d291
1 changed files with 9 additions and 2 deletions
|
@ -3164,9 +3164,15 @@ (define-public java-stringtemplate-3
|
|||
(build-system ant-build-system)
|
||||
(arguments
|
||||
`(#:jar-name (string-append ,name "-" ,version ".jar")
|
||||
#:tests? #f
|
||||
#:test-dir "test"
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-before 'check 'fix-tests
|
||||
(lambda _
|
||||
(substitute* "build.xml"
|
||||
(("\\$\\{test.home\\}/java")
|
||||
"${test.home}/org"))
|
||||
#t))
|
||||
(add-before 'build 'generate-grammar
|
||||
(lambda _
|
||||
(let ((dir "src/org/antlr/stringtemplate/language/"))
|
||||
|
@ -3177,7 +3183,8 @@ (define-public java-stringtemplate-3
|
|||
'("template.g" "angle.bracket.template.g" "action.g"
|
||||
"eval.g" "group.g" "interface.g"))))))))
|
||||
(native-inputs
|
||||
`(("antlr" ,antlr2)))
|
||||
`(("antlr" ,antlr2)
|
||||
("java-junit" ,java-junit)))
|
||||
(home-page "http://www.stringtemplate.org")
|
||||
(synopsis "Template engine to generate formatted text output")
|
||||
(description "StringTemplate is a java template engine (with ports for C#,
|
||||
|
|
Loading…
Reference in a new issue