logo

abstract class

build::BuildPod

sys::Obj
  build::BuildScript
    build::BuildPod

BuildPod is the base class for build scripts used to manage building a Fan source code and resources into a Fan pod.

See docTools::Build for details.

Slots

clean

virtual Void clean()

compile

virtual Void compile(Bool full := false)

defaultTarget

override Target defaultTarget()

Default target is compile.

depends

Str[] depends

Dependencies of the pod formatted as a list of sys::Depend strings. Required.

dependsDir

Uri dependsDir

The directory to look in for the dependency pod file (and potentially their recursive dependencies). If null then we use the compiler's own pod definitions via reflection (which is more efficient).

description

Str description

Short one sentence description of the pod. Required.

doc

virtual Void doc()

full

virtual Void full()

javaDirs

Uri[] javaDirs

List of Uris relative to scriptDir of directories containing the Java source files to compile for Java native jar.

javaLibs

Uri[] javaLibs

List of Uris relative to scriptDir of Java jar files which are automatically included in the classpath when compiling the javaDirs.

javaNative

virtual Void javaNative()

netDirs

Uri[] netDirs

List of Uris relative to scriptDir of directories containing the C# source files to compile for .NET native dll.

netLibs

Uri[] netLibs

List of Uris relative to scriptDir of .NET assemblies which are automatically included in the library path when compiling the netDirs.

netNative

virtual Void netNative()

podFacets

Str:Obj podFacets

User defined pod level facets. Optional.

podName

Str podName

Programatic name of the pod. Required.

resDirs

Uri[] resDirs

List of Uris relative to scriptDir of directories of resources files to package into pod zip file. Optional.

srcDirs

Uri[] srcDirs

List of Uris relative to scriptDir of directories containing the Fan source files to compile. Required.

test

virtual Void test()

version

Version version

Version of the pod - typically set to BuildScript.globalVersion. Required.