diff options
author | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2020-08-28 00:14:10 +0200 |
---|---|---|
committer | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2020-08-28 00:15:55 +0200 |
commit | 6088e6e3d60f407765a9e6936bf0d06a184282df (patch) | |
tree | 19704daae859bcc724a0bc19598dd028a946b680 /buildScripts/website.ant.xml | |
parent | edbfdfe8c52c17a38bf2b526d14a4f622c5402f7 (diff) | |
download | lombok-6088e6e3d60f407765a9e6936bf0d06a184282df.tar.gz lombok-6088e6e3d60f407765a9e6936bf0d06a184282df.tar.bz2 lombok-6088e6e3d60f407765a9e6936bf0d06a184282df.zip |
[build] added ant website.open
this serves the site locally and opens your browser
Diffstat (limited to 'buildScripts/website.ant.xml')
-rw-r--r-- | buildScripts/website.ant.xml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/buildScripts/website.ant.xml b/buildScripts/website.ant.xml index 9efb2668..730b79c2 100644 --- a/buildScripts/website.ant.xml +++ b/buildScripts/website.ant.xml @@ -150,6 +150,19 @@ such as applying the templates to produce the website, converting the changelog <website.make version="${lombok.version.live}" fullversion="${lombok.fullversion.live}" cmd="all" /> </target> + <target name="website.open" depends="website.build, compile.support" description="Builds the website, then serves it locally, opening a browser."> + <local name="dir.build.website" /> + <property name="dir.build.website" location="build/website" /> + <java classname="lombok.website.RunSite" failonerror="true"> + <classpath> + <path refid="cp.buildtools" /> + <pathelement location="build/support" /> + </classpath> + <arg value="${dir.build.website}" /> + <arg value="open" /> + </java> + </target> + <target name="website.print-all-versions" depends="compile.support"> <java classname="lombok.website.WebsiteMaker" failonerror="true"> <classpath> |