forked from iandennismiller/yellowdot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfabfile.py
More file actions
24 lines (14 loc) · 717 Bytes
/
fabfile.py
File metadata and controls
24 lines (14 loc) · 717 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import os
def docs():
css_url = "http://iandennismiller.com/css/perl_pod.css"
cmd = 'pod2html --css "%s" --outfile index.html --infile bin/yellowdot.pl; rm pod2*' % css_url
os.system(cmd)
#pod2html --css "http://iandennismiller.com/css/perl_pod.css" --outfile $(MAKE_PATH)/tmp/index.html \
# --infile $(MAKE_PATH)/bin/yellowdot; rm $(MAKE_PATH)/pod2htmd.tmp $(MAKE_PATH)/pod2htmi.tmp
"""
# create .html documentation
# copy index.html
scp -o port=$(SSH_PORT) $(MAKE_PATH)/tmp/index.html $(SSH_LOGIN)@$(SSH_HOST):$(REMOTE_PATH)/software/yellowdot
# copy yellowdot
scp -o port=$(SSH_PORT) $(MAKE_PATH)/bin/yellowdot $(SSH_LOGIN)@$(SSH_HOST):$(REMOTE_PATH)/software/yellowdot
"""