class build::PodRewrite

sys::Obj
  build::Task
    build::PodRewrite

Source

PodRewrite is used to update the contents of one or more pod files. It can be used to strip javascript, source code, and docs. However it cannot strip test code - that requires a recompile from source with the stripTest flag.

make

new make(BuildScript script)

Source

Construct uninitialized task

outDir

File? outDir

Source

Required output directory to place rewritten pods

pods

Obj[] pods := Obj[,]

Source

List of pod files or pod names to rewrite

rewrite

Void rewrite(File podFile, OutStream out)

Source

Rewrite the given pod file with the configured options

run

virtual override Void run()

Source

Run the task

stripDocs

Bool stripDocs

Source

Remove pod's documentation: pod.fandoc and all api docs

stripJs

Bool stripJs

Source

Remove pod's JavaScript files: "pod.js" and "pod.js.map"

stripSrc

Bool stripSrc

Source

Remove pod's source code if bundled into the pod zip