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()

Source

compile

virtual Void compile(Bool full := false)

Source

defaultTarget

override Target defaultTarget()

Default target is compile.

Source

depends

Str[] depends

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

Source

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).

Source

description

Str description

Short one sentence description of the pod. Required.

Source

doc

virtual Void doc()

Source

full

virtual Void full()

Source

javaDirs

Uri[] javaDirs

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

Source

javaLibs

Uri[] javaLibs

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

Source

javaNative

virtual Void javaNative()

Source

netDirs

Uri[] netDirs

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

Source

netLibs

Uri[] netLibs

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

Source

netNative

virtual Void netNative()

Source

podFacets

Str:Obj podFacets

User defined pod level facets. Optional.

Source

podName

Str podName

Programatic name of the pod. Required.

Source

resDirs

Uri[] resDirs

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

Source

srcDirs

Uri[] srcDirs

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

Source

test

virtual Void test()

Source

version

Version version

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

Source