File: code-conventions.sh

package info (click to toggle)
flare-engine 1.14-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 19,388 kB
  • sloc: cpp: 47,760; java: 3,956; sh: 309; xml: 45; makefile: 10
file content (12 lines) | stat: -rwxr-xr-x 308 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash

HTMLFILE="../code-conventions.html"
PAGETITLE="Code Conventions"
WIKIPATH="../../../flare-engine.wiki"

if [ -d "$WIKIPATH" ]; then
	sed -e "s/PAGETITLE/$PAGETITLE/g" header.txt > "$HTMLFILE"
	markdown -f -smarty "$WIKIPATH/Code-Conventions.md" >> "$HTMLFILE"
	cat footer.txt >> "$HTMLFILE"
fi