aboutsummaryrefslogtreecommitdiff
path: root/guix/build-system/ant.scm
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2017-09-05 19:04:38 +0200
committerJulien Lepiller <julien@lepiller.eu>2017-10-03 21:37:47 +0200
commit8df1faa047870c51954275664e8e7efc94e6fc56 (patch)
tree4987e1636a97c41f33bf8d07e799f8edafd6ee2a /guix/build-system/ant.scm
parent4d6801b735550ee804454a6d4f0d44c3372e0ae9 (diff)
downloadgnu-guix-8df1faa047870c51954275664e8e7efc94e6fc56.tar
gnu-guix-8df1faa047870c51954275664e8e7efc94e6fc56.tar.gz
guix: ant-build-system: Add main-class support.
* guix/build-system/ant.scm: New #:main-class argument * guix/build/ant-build-system.scm: Generate a manifest file with additional properties. * doc/guix.texi (Build Systems): Document it.
Diffstat (limited to 'guix/build-system/ant.scm')
-rw-r--r--guix/build-system/ant.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/guix/build-system/ant.scm b/guix/build-system/ant.scm
index e0870a605c..a700230ece 100644
--- a/guix/build-system/ant.scm
+++ b/guix/build-system/ant.scm
@@ -99,6 +99,7 @@
(make-flags ''())
(build-target "jar")
(jar-name #f)
+ (main-class #f)
(source-dir "src")
(test-dir "src/test")
(phases '(@ (guix build ant-build-system)
@@ -130,6 +131,7 @@
#:test-target ,test-target
#:build-target ,build-target
#:jar-name ,jar-name
+ #:main-class ,main-class
#:source-dir ,source-dir
#:test-dir ,test-dir
#:phases ,phases