Clone
1
How to configure
AJ edited this page 2025-05-20 07:58:33 -04:00

Builderman looks for a config in the src folder. It looks like this:

<?xml version="1.0" encoding="UTF-8"?>
<builds>
    <build>
        <name>full</name>
        <include>
            <tag>header</tag>
            <tag>main</tag>
            <tag>aside</tag>
            <tag>footer</tag>
        </include>
        <style src="styles.css"/>
    </build>
    <build>
        <name>minimal</name>
        <include>
            <tag>main</tag>
        </include>
        <exclude>
            <tag>header</tag>
            <tag>footer</tag>
            <tag>aside</tag>
            <tag>nav</tag>
        </exclude>
        <style src="styles.css"/>
    </build>
    <build>
        <name>no-nav</name>
        <exclude>
            <tag>nav</tag>
        </exclude>
        <style src="styles.css"/>
    </build>
</builds>

Here you can define your builds and settings. Include allows you to specifically include a tag. For example, inlcuding test will include anything under "<test>" in the output. If you do not specify anything to include, everything will be included. Exclude allows you to exclude specific tags. Style specifies the stylesheet for the build.