diff options
author | Reinier Zwitserloot <reinier@tipit.to> | 2009-07-28 18:32:07 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@tipit.to> | 2009-07-28 18:32:07 +0200 |
commit | 2781b8592b526beddef6158b756b19e2194c30d0 (patch) | |
tree | 2d1ae1773cc4579c2b0c7b43f26ec9522dbf58ba | |
parent | 7068db574ee40cc9df2fffbeef1078bf0569bbcf (diff) | |
download | lombok-2781b8592b526beddef6158b756b19e2194c30d0.tar.gz lombok-2781b8592b526beddef6158b756b19e2194c30d0.tar.bz2 lombok-2781b8592b526beddef6158b756b19e2194c30d0.zip |
bugfix in the build.xml file - "ant website" would not add the videos to the built .tar.bz2 file. Now it does. (use ant website-novideo to skip adding the videos, which reduces the upload from 18M to 1.4M).
-rw-r--r-- | build.xml | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -59,8 +59,8 @@ <delete dir="build/website" quiet="true" /> </target> - <target name="website" description="Prepares the website for distribution" depends="-website-main, -website-videos" /> - <target name="website-novideo" description="Prepares the website for distribution, but does not add the videos to the zip." depends="-website-main" /> + <target name="website" description="Prepares the website for distribution" depends="-website-main, -website-videos, -website-dist" /> + <target name="website-novideo" description="Prepares the website for distribution, but does not add the videos to the zip." depends="-website-main, -website-dist" /> <target name="-website-videos" depends="-website-clean"> <mkdir dir="build/website/videos" /> @@ -116,6 +116,9 @@ <param name="transformationName" value="SneakyThrows" /> </antcall> <mkdir dir="dist" /> + </target> + + <target name="-website-dist"> <tar destfile="dist/website.tar.bz2" compression="bzip2"> <tarfileset dir="build/website" /> <tarfileset dir="doc/api" prefix="api" /> |