Skip to content

Commit

Permalink
setup initial files
Browse files Browse the repository at this point in the history
  • Loading branch information
nateps committed Feb 24, 2012
0 parents commit 85206ea
Show file tree
Hide file tree
Showing 6 changed files with 64 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitignore
@@ -0,0 +1,4 @@
*.gz
test-output.tmp
node_modules/
lib/
3 changes: 3 additions & 0 deletions .npmignore
@@ -0,0 +1,3 @@
*.gz
test-output.tmp
node_modules/
19 changes: 19 additions & 0 deletions Makefile
@@ -0,0 +1,19 @@
compile:
./node_modules/coffee-script/bin/coffee -bw -o ./lib -c ./src

MOCHA_TESTS := $(shell find test/ -name '*.mocha.coffee')
MOCHA := $(shell which mocha)
OUT_FILE = "test-output.tmp"

g = "."

test-mocha:
@NODE_ENV=test $(MOCHA) \
--colors \
--reporter spec \
--grep "$(g)" \
$(MOCHA_TESTS) | tee $(OUT_FILE)

test: test-mocha
test!:
@perl -n -e '/\[31m 0\) (.*?).\[0m/ && print "make test g=\"$$1\$$\""' $(OUT_FILE) | sh
24 changes: 24 additions & 0 deletions README.md
@@ -0,0 +1,24 @@
# Redis PubSub plugin for Racer

See **http://racerjs.com/**

## MIT License
Copyright (c) 2011 by Nate Smith and Brian Noguchi

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
14 changes: 14 additions & 0 deletions package.json
@@ -0,0 +1,14 @@
{
"name": "racer-pubsub-redis",
"description": "Redis PubSub plugin for Racer",
"version": "0.0.0",
"main": "./lib/index.js",
"devDependencies": {
"mocha": ">=0.9.0",
"expect.js": ">=0.1.2",
"coffee-script": ">=1.1.2"
},
"engines": {
"node": ">=0.4.0"
}
}
Empty file added src/index.coffee
Empty file.

0 comments on commit 85206ea

Please sign in to comment.