Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

35 lines (24 sloc) 0.561 kB
SRC = lib/events.js lib/superagent.js
TESTS = test/node/*.js
REPORTER = dot
all: superagent.js superagent.min.js
test:
@NODE_ENV=test ./node_modules/.bin/mocha \
--require should \
--reporter $(REPORTER) \
--growl \
$(TESTS)
superagent.js: $(SRC)
cat $^ > $@
superagent.min.js: superagent.js
uglifyjs --no-mangle $< > $@
test-server:
@node test/server
docs: lib test-docs
test-docs:
make test REPORTER=doc \
| cat docs/head.html - docs/tail.html \
> docs/test.html
clean:
rm -f superagent{,.min}.js
.PHONY: test docs test-docs clean
Jump to Line
Something went wrong with that request. Please try again.