#!/usr/bin/env python

"""Produces index.html given a list of JavaScript sources."""

import markup
import sys

index = markup.page()
index.init(
    title = 'Cargo-Not: Educational Cargo-Bot',
    script = [filename for filename in sys.argv if filename.endswith('.js')],
    css = [filename for filename in sys.argv if filename.endswith('.css')])
index.script('main();')

print index

03e77268fbc94580b523113917eed4a7f84dde07
#!/usr/bin/env python

"""Produces index.html given a list of JavaScript sources."""

import markup
import sys

index = markup.page()
index.init(
    title = 'Cargo-Not: Educational Cargo-Bot',
    script = [filename for filename in sys.argv if filename.endswith('.js')],
    css = [filename for filename in sys.argv if filename.endswith('.css')])
index.script('main();')

print index
