Skip to content

Commit 7609f93

Browse files
committed
setup initial files
0 parents  commit 7609f93

File tree

6 files changed

+64
-0
lines changed

6 files changed

+64
-0
lines changed

.gitignore

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
*.gz
2+
test-output.tmp
3+
node_modules/
4+
lib/

.npmignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
*.gz
2+
test-output.tmp
3+
node_modules/

Makefile

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
compile:
2+
./node_modules/coffee-script/bin/coffee -bw -o ./lib -c ./src
3+
4+
MOCHA_TESTS := $(shell find test/ -name '*.mocha.coffee')
5+
MOCHA := $(shell which mocha)
6+
OUT_FILE = "test-output.tmp"
7+
8+
g = "."
9+
10+
test-mocha:
11+
@NODE_ENV=test $(MOCHA) \
12+
--colors \
13+
--reporter spec \
14+
--grep "$(g)" \
15+
$(MOCHA_TESTS) | tee $(OUT_FILE)
16+
17+
test: test-mocha
18+
test!:
19+
@perl -n -e '/\[31m 0\) (.*?).\[0m/ && print "make test g=\"$$1\$$\""' $(OUT_FILE) | sh

README.md

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Redis journal plugin for Racer
2+
3+
See **http://racerjs.com/**
4+
5+
## MIT License
6+
Copyright (c) 2011 by Nate Smith and Brian Noguchi
7+
8+
Permission is hereby granted, free of charge, to any person obtaining a copy
9+
of this software and associated documentation files (the "Software"), to deal
10+
in the Software without restriction, including without limitation the rights
11+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12+
copies of the Software, and to permit persons to whom the Software is
13+
furnished to do so, subject to the following conditions:
14+
15+
The above copyright notice and this permission notice shall be included in
16+
all copies or substantial portions of the Software.
17+
18+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24+
THE SOFTWARE.

package.json

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"name": "racer-journal-redis",
3+
"description": "Redis journal plugin for Racer",
4+
"version": "0.0.1",
5+
"main": "./lib/index.js",
6+
"devDependencies": {
7+
"mocha": ">=0.9.0",
8+
"expect.js": ">=0.1.2",
9+
"coffee-script": ">=1.1.2"
10+
},
11+
"engines": {
12+
"node": ">=0.4.0"
13+
}
14+
}

src/index.coffee

Whitespace-only changes.

0 commit comments

Comments
 (0)