annotate render_datatable-wrapper.sh @ 8:35f9b833e12b draft default tip

planemo upload commit 2774930eebe258ecd56c8f1c5ddabf5092282ab9
author bcclaywell
date Mon, 12 Oct 2015 16:09:02 -0400
parents d4690e65afcd
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
1 #!/bin/bash
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
2
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
3 source $(dirname $0)/util.sh
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
4 source $1
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
5
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
6 mkdir -p ${OUTPUT_DIR}
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
7
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
8 python $(dirname $0)/render_datatable.py \
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
9 < ${INPUT} \
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
10 > ${OUTPUT_DIR}/index.html
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
11
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
12 cat <<EOF > ${OUTPUT}
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
13 <!DOCTYPE HTML>
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
14 <html lang="en-US">
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
15 <head/>
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
16 <body>
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
17 <a href="index.html">Generated table</a>
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
18 </body>
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
19 </html>
d4690e65afcd Uploaded
bcclaywell
parents:
diff changeset
20 EOF