it do
43
How-to-configure.md
Normal file
43
How-to-configure.md
Normal file
@@ -0,0 +1,43 @@
|
||||
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.
|
||||
Reference in New Issue
Block a user