Permalink
Browse files

got most of it working

  • Loading branch information...
1 parent 9c41fc7 commit 2a4f914642377e3041a2e26b1f88a7a19db32cd1 @jgallen23 jgallen23 committed Mar 29, 2012
View
@@ -0,0 +1 @@
+node_modules
View
@@ -0,0 +1,22 @@
+SRC = $(shell find lib -type f)
+
+all: dist/hubinfo.js
+
+dist/hubinfo.js: $(SRC)
+ @./support/template.js lib/templates/default.html > template.js
+ @./node_modules/.bin/masher masher.json
+ cp -r lib/images dist/
+ rm template.js
+
+
+install:
+ npm install masher
+ npm install stylus
+
+clean:
+ rm -rf dist
+
+preview:
+ @python -m SimpleHTTPServer 8001
+
+.PHONY: install clean preview
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
@@ -0,0 +1,19 @@
+<html>
+ <head>
+ <title></title>
+ <link rel='stylesheet' type='text/css' href='../dist/hubinfo.css'/>
+ <script src="live.js"></script>
+ </head>
+ <body>
+
+ <div id='hubinfo'></div>
+ <script src='jquery.js'></script>
+ <script src='../dist/hubinfo.js'></script>
+ <script>
+ $('#hubinfo').hubInfo({
+ user: 'jgallen23',
+ repo: 'hubinfo'
+ });
+ </script>
+ </body>
+</html>
Oops, something went wrong.

0 comments on commit 2a4f914

Please sign in to comment.