-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathMakefile
23 lines (17 loc) · 797 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
ROBOT = src/phantomrobot.coffee
KEYWORDS = `find src/_*.coffee|LC_ALL=C sort`
all: phantomrobot.js
phantomrobot.js: $(MY_KEYWORDS) src/*.coffee
cat $(KEYWORDS) $(MY_KEYWORDS) $(ROBOT)|coffee -s -b -c > phantomrobot.js
clean:
find . -name "phantomrobot.js" -print0|xargs -0 rm
find . -name "report.html" -print0|xargs -0 rm
find . -name "log.html" -print0|xargs -0 rm
find . -name "output.xml" -print0|xargs -0 rm
find . -name "Altitude.log" -print0|xargs -0 rm
find . -name "*.png" -print0|xargs -0 rm
libdoc.py:
curl http://robotframework.googlecode.com/hg/tools/libdoc/libdoc.py?r=2.5.7 -o libdoc.py
docs: libdoc.py
bin/python libdoc.py -f html -N PhantomRobot -o keywords.html -S NONE -a localhost:1337 Remote
xsltproc --html --novalid keywords.xsl keywords.html > keywords.rst