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
- cleanSource
-
virtual Void clean()
- compileSource
- defaultTargetSource
-
override Target defaultTarget()
Overrides build::BuildScript.defaultTarget
Default target is compile.
- dependsSource
-
Str[] depends
Dependencies of the pod formatted as a list of
sys::Depend
strings. Required. - dependsDirSource
-
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).
- descriptionSource
-
Str description
Short one sentence description of the pod. Required.
- docSource
-
virtual Void doc()
- fullSource
-
virtual Void full()
- javaDirsSource
-
Uri[]? javaDirs
List of Uris relative to scriptDir of directories containing the Java source files to compile for Java native jar.
- javaLibsSource
-
Uri[]? javaLibs
List of Uris relative to scriptDir of Java jar files which are automatically included in the classpath when compiling the javaDirs.
- javaNativeSource
-
virtual Void javaNative()
- netDirsSource
-
Uri[]? netDirs
List of Uris relative to scriptDir of directories containing the C# source files to compile for .NET native dll.
- netLibsSource
-
Uri[]? netLibs
List of Uris relative to scriptDir of .NET assemblies which are automatically included in the library path when compiling the netDirs.
- netNativeSource
-
virtual Void netNative()
-
internal Depend[] parseDepends()
- podFacetsSource
-
User defined pod level facets. Optional.
- podNameSource
-
Str podName
Programatic name of the pod. Required.
- resDirsSource
-
Uri[]? resDirs
List of Uris relative to scriptDir of directories of resources files to package into pod zip file. Optional.
- srcDirsSource
-
Uri[] srcDirs
List of Uris relative to scriptDir of directories containing the Fan source files to compile. Required.
- testSource
-
virtual Void test()
-
override internal Void validate()
Overrides build::BuildScript.validate
Validate subclass constructor setup required meta-data.
- versionSource
-
Version version
Version of the pod - typically set to
BuildScript.globalVersion
. Required.