Advanced compilation of the API with 'bin/ol api'
This commit is contained in:
@@ -8,12 +8,14 @@
|
||||
<property name="ol.home" location=".."/>
|
||||
<property name="plovr.jar" location="${ol.home}/bin/plovr.jar"/>
|
||||
<property name="main.json" location="${ol.home}/main.json"/>
|
||||
<property name="api.json" location="${ol.home}/api.json"/>
|
||||
|
||||
<target name="usage">
|
||||
<echo>
|
||||
Available commands:
|
||||
|
||||
serve - Run the library server
|
||||
api - Builds the optimized file with public api
|
||||
doc - Build the reference docs
|
||||
</echo>
|
||||
</target>
|
||||
@@ -33,6 +35,13 @@
|
||||
<arg value="${main.json}"/>
|
||||
</java>
|
||||
</target>
|
||||
|
||||
<target name="api" depends="deps">
|
||||
<java jar="${plovr.jar}" fork="true">
|
||||
<arg value="build"/>
|
||||
<arg value="${api.json}"/>
|
||||
</java>
|
||||
</target>
|
||||
|
||||
<target name="doc" depends="deps">
|
||||
<java jar="${plovr.jar}" fork="true">
|
||||
@@ -41,4 +50,4 @@
|
||||
</java>
|
||||
</target>
|
||||
|
||||
</project>
|
||||
</project>
|
||||
|
||||
Reference in New Issue
Block a user