Skip to content

Commit 65833fd

Browse files
committed
Update project metadata.
1 parent 6677026 commit 65833fd

File tree

3 files changed

+23
-14
lines changed

3 files changed

+23
-14
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
(The MIT License)
22

3-
Copyright (c) 2012 Jared Hanson
3+
Copyright (c) 2012-2013 Jared Hanson
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy of
66
this software and associated documentation files (the "Software"), to deal in

Makefile

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,24 @@
1-
NODE = node
2-
TEST = ./node_modules/.bin/vows
1+
SOURCES = lib/**/*.js
2+
3+
# ==============================================================================
4+
# Node Tests
5+
# ==============================================================================
6+
7+
VOWS = ./node_modules/.bin/vows
38
TESTS ?= test/*-test.js test/**/*-test.js
49

510
test:
6-
@NODE_ENV=test NODE_PATH=lib $(TEST) $(TEST_FLAGS) $(TESTS)
11+
@NODE_ENV=test NODE_PATH=lib $(VOWS) $(TESTS)
12+
13+
# ==============================================================================
14+
# Static Analysis
15+
# ==============================================================================
716

8-
docs: docs/api.html
17+
JSHINT = jshint
918

10-
docs/api.html: lib/passport-http-oauth/*.js
11-
dox \
12-
--title Passport-HTTP-OAuth \
13-
--desc "HTTP OAuth authentication strategy for Passport" \
14-
$(shell find lib/passport-http-oauth/* -type f) > $@
19+
hint: lint
20+
lint:
21+
$(JSHINT) $(SOURCES)
1522

16-
docclean:
17-
rm -f docs/*.{1,html}
1823

19-
.PHONY: test docs docclean
24+
.PHONY: test hint lint

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,11 @@
1010
"bugs": {
1111
"url": "http://github.com/jaredhanson/passport-http-oauth/issues"
1212
},
13-
"author": { "name": "Jared Hanson", "email": "jaredhanson@gmail.com", "url": "http://www.jaredhanson.net/" },
13+
"author": {
14+
"name": "Jared Hanson",
15+
"email": "jaredhanson@gmail.com",
16+
"url": "http://www.jaredhanson.net/"
17+
},
1418
"licenses": [ {
1519
"type": "MIT",
1620
"url": "http://www.opensource.org/licenses/MIT"

0 commit comments

Comments
 (0)