class

PodRewrite

class PodRewrite : Task

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.

constructors make

Construct uninitialized task

fields stripSrc

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

stripDocs

Remove pod's documentation

stripJs

Remove pod's JavaScript files

pods

List of pod files or pod names to rewrite

outDir

Required output directory to place rewritten pods

methods run

Run the task

rewrite

Rewrite the given pod file with the configured options

make new make(BuildScript script)

Construct uninitialized task

outDir File? : outDir

Required output directory to place rewritten pods

pods Obj[] : pods

List of pod files or pod names to rewrite

rewrite Void rewrite(File podFile, OutStream out)

Rewrite the given pod file with the configured options

run virtual Void run()

Run the task

stripDocs Bool : stripDocs

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

stripJs Bool : stripJs

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

stripSrc Bool : stripSrc

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

Haxall 4.0.5 ∙ 24-Feb-2026 14:33 EST