Permalink
Browse files

integrate with foss-credits-collection

  • Loading branch information...
1 parent a09c985 commit d97d473ccd6c8084f046f6accd24cd041f914903 @andrewschaaf committed May 16, 2011
Showing with 11 additions and 0 deletions.
  1. +11 −0 foss-credits.coffee
View
@@ -1,5 +1,12 @@
+main = () ->
+ packages = process.argv[2...]
+ process.stdout.write htmlFor {
+ items: (require("./../foss-credits-collection/licenses/#{x}.coffee") for x in packages)
+ }
+
+
htmlFor = (info) ->
"<html><head>#{JS}#{CSS}</head><body>#{bodyFor(info)}</body></html>"
@@ -93,3 +100,7 @@ CSS = """
</style>
"""
+
+if not module.parent
+ main()
+

0 comments on commit d97d473

Please sign in to comment.