Skip to content
This repository has been archived by the owner on May 19, 2019. It is now read-only.

Commit

Permalink
makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
langpavel committed Aug 9, 2012
1 parent f237a35 commit f91254e
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -21,3 +21,4 @@ conf.json
/public/javascripts/*.min.js
public/javascripts/highlight.js
public/javascripts/site.js
public/stylesheets/style.css
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -5,7 +5,7 @@ UGLIFY=./node_modules/.bin/uglifyjs
BROWSERIFIABLE=$(shell ls browserify/*.js | sed s+browserify/+public/javascripts/+)
UGLIFIABLE=$(shell ls public/javascripts/*.js | grep -ve '\.min\.js$$' | sed s+.js$$+.min.js+)

all: browserify public/javascripts/site.js
all: module-bootstrap browserify public/javascripts/site.js
make uglify

clean: clean-styles clean-uglified clean-browsefied
Expand Down
3 changes: 2 additions & 1 deletion debug
Expand Up @@ -2,6 +2,7 @@

lsof | grep *:http-alt || node-inspector &

sleep 1s && gnome-open http://0.0.0.0:8080/debug?port=5858 &
make && sleep 1s && gnome-open http://0.0.0.0:8080/debug?port=5858 &

TZ=/usr/share/zoneinfo/UTC NODE_ENV=development DEBUG=* node --debug-brk server.js

2 changes: 2 additions & 0 deletions development
@@ -1,3 +1,5 @@
#!/bin/sh

make all

TZ=/usr/share/zoneinfo/UTC NODE_ENV=development DEBUG=* node server.js
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -4,7 +4,7 @@
"private": true,
"dependencies": {
"async": "~0.1.22",
"bootstrap": "git://github.com/twitter/bootstrap.git",
"bootstrap": "git://github.com/langpavel/bootstrap.git",
"browserify": "~1.14.5",
"colors": "~0.6.0-1",
"commander": "~0.6.1",
Expand All @@ -22,7 +22,7 @@
"mysql": "~2.0.0-alpha3",
"nib": "~0.7.0",
"redis": "~0.7.2",
"showdown": "0.2.0",
"showdown": "~0.2.0",
"socket.io": "~0.9.9",
"stylus": "~0.28.2",
"uglify-js": "~1.3.3"
Expand Down
4 changes: 4 additions & 0 deletions pages/markdown.md
Expand Up @@ -2,6 +2,10 @@
NOTE -- Showdown on GitHub
==========================

\-
–
—

Please note that I, Corey, am not the author of Showdown. Rather, I found it
some time back at <http://attacklab.net/showdown/>
(website removed, see: <http://wayback.archive.org/web/*/http://attacklab.net/showdown>)
Expand Down
2 changes: 2 additions & 0 deletions production
@@ -1,3 +1,5 @@
#!/bin/sh

make all

TZ=/usr/share/zoneinfo/UTC NODE_ENV=production node server.js

0 comments on commit f91254e

Please sign in to comment.