guix: ant-build-system: Use manifest task to create manifest.
* guix/build/ant-build-system.scm (default-build.xml): Use manifest task to create manifest file instead of a custom echo task.
This commit is contained in:
parent
6969c4de44
commit
90ea1006a8
|
@ -68,14 +68,11 @@
|
|||
|
||||
(target (@ (name "manifest"))
|
||||
(mkdir (@ (dir "${manifest.dir}")))
|
||||
(echo (@ (file "${manifest.file}")
|
||||
(message ,(string-append
|
||||
(if main-class
|
||||
(string-append
|
||||
"Main-Class: " main-class
|
||||
"${line.separator}")
|
||||
"")
|
||||
"")))))
|
||||
(manifest (@ (file "${manifest.file}"))
|
||||
,(if main-class
|
||||
`(attribute (@ (name "Main-Class")
|
||||
(value ,main-class)))
|
||||
"")))
|
||||
|
||||
(target (@ (name "compile"))
|
||||
(mkdir (@ (dir "${classes.dir}")))
|
||||
|
|
Loading…
Reference in New Issue