add github dep

This commit is contained in:
Christine Dodrill 2015-01-31 21:13:28 -08:00
parent ba19449461
commit 6fe34d3e7b
3 changed files with 5 additions and 0 deletions

View File

@ -2,3 +2,4 @@ name: "christine"
dependencies: dependencies:
- moonscript - moonscript
- github

View File

@ -54,6 +54,9 @@ class Layout extends Widget
p class: "text-muted", -> p class: "text-muted", ->
text "Christine Cadence Dodrill - #{os.date "%Y"}" text "Christine Cadence Dodrill - #{os.date "%Y"}"
if os.getenv "GIT_REV"
text " revision #{os.getenv("GIT_REV")\sub 1,8}"
body: => body: =>
div class: "container", -> div class: "container", ->
if @flash if @flash

View File

@ -4,6 +4,7 @@ daemon off;
env PORT; env PORT;
env GITHUB_TOKEN; env GITHUB_TOKEN;
env GIT_REV;
events { events {
worker_connections 1024; worker_connections 1024;