mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-15 14:16:39 +00:00
[build] added ant website.open
this serves the site locally and opens your browser
This commit is contained in:
4 files changed
+126
No files matched your search
@@ -258,6 +258,11 @@ build/website.
|
||||
'pack' bzips this up, ready to ship to the server.
|
||||
'publish' sends this to the server and runs a script to deploy.
|
||||
|
||||
> ant website.open
|
||||
|
||||
First builds the website, then hosts it locally and opens it in your browser so
|
||||
you can see the website in its full, template-applied form.
|
||||
|
||||
> ant latest-changes.build
|
||||
|
||||
Makes a changelog variant that lists only the newest changes; it is included
|
||||
|
||||
@@ -58,6 +58,7 @@
|
||||
<dependency org="projectlombok.org" name="markdownj" rev="1.02b4" conf="buildtools->build" />
|
||||
<dependency org="de.java2html" name="java2html" rev="5.0" conf="buildtools->default" />
|
||||
<dependency org="org.freemarker" name="freemarker" rev="2.3.28" conf="buildtools->default" />
|
||||
<dependency org="com.sparkjava" name="spark-core" rev="2.9.2" conf="buildtools->default" />
|
||||
|
||||
<dependency org="org.eclipse.jgit" name="org.eclipse.jgit.ant" rev="5.2.0.201812061821-r" conf="supporters->default" />
|
||||
<dependency org="org.eclipse.jgit" name="org.eclipse.jgit" rev="5.2.0.201812061821-r" conf="supporters->default" />
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user