-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7429a02
commit 591633e
Showing
4 changed files
with
33 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,24 @@ | ||
NODE = node | ||
TEST = ./node_modules/.bin/vows | ||
SOURCES = lib/**/*.js | ||
|
||
# ============================================================================== | ||
# Node Tests | ||
# ============================================================================== | ||
|
||
VOWS = ./node_modules/.bin/vows | ||
TESTS ?= test/*-test.js | ||
|
||
test: | ||
@NODE_ENV=test NODE_PATH=lib $(TEST) $(TEST_FLAGS) $(TESTS) | ||
@NODE_ENV=test NODE_PATH=lib $(VOWS) $(TESTS) | ||
|
||
# ============================================================================== | ||
# Static Analysis | ||
# ============================================================================== | ||
|
||
docs: docs/api.html | ||
JSHINT = jshint | ||
|
||
docs/api.html: lib/passport-tumblr/*.js | ||
dox \ | ||
--title Passport-Tumblr \ | ||
--desc "Tumblr authentication strategy for Passport" \ | ||
$(shell find lib/passport-tumblr/* -type f) > $@ | ||
hint: lint | ||
lint: | ||
$(JSHINT) $(SOURCES) | ||
|
||
docclean: | ||
rm -f docs/*.{1,html} | ||
|
||
.PHONY: test docs docclean | ||
.PHONY: test hint lint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,14 +2,23 @@ | |
"name": "passport-tumblr", | ||
"version": "0.1.2", | ||
"description": "Tumblr authentication strategy for Passport.", | ||
"author": { "name": "Jared Hanson", "email": "[email protected]", "url": "http://www.jaredhanson.net/" }, | ||
"keywords": ["passport", "tumblr", "auth", "authn", "authentication", "identity"] | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com/jaredhanson/passport-tumblr.git" | ||
}, | ||
"bugs": { | ||
"url": "http://github.com/jaredhanson/passport-tumblr/issues" | ||
}, | ||
"author": { | ||
"name": "Jared Hanson", | ||
"email": "[email protected]", | ||
"url": "http://www.jaredhanson.net/" | ||
}, | ||
"licenses": [ { | ||
"type": "MIT", | ||
"url": "http://www.opensource.org/licenses/MIT" | ||
} ], | ||
"main": "./lib/passport-tumblr", | ||
"dependencies": { | ||
"pkginfo": "0.2.x", | ||
|
@@ -21,10 +30,5 @@ | |
"scripts": { | ||
"test": "NODE_PATH=lib node_modules/.bin/vows test/*-test.js" | ||
}, | ||
"engines": { "node": ">= 0.4.0" }, | ||
"licenses": [ { | ||
"type": "MIT", | ||
"url": "http://www.opensource.org/licenses/MIT" | ||
} ], | ||
"keywords": ["passport", "tumblr", "auth", "authn", "authentication", "identity"] | ||
"engines": { "node": ">= 0.4.0" } | ||
} |