Skip to content

Commit

Permalink
docs: fixed docs (closes #1451)
Browse files Browse the repository at this point in the history
  • Loading branch information
niftylettuce committed Mar 28, 2019
1 parent 1618f8d commit 70df462
Show file tree
Hide file tree
Showing 4 changed files with 4,500 additions and 1,471 deletions.
10 changes: 1 addition & 9 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ NODETESTS ?= test/*.js test/node/*.js
BROWSERTESTS ?= test/*.js test/client/*.js
REPORTER = spec

all: superagent.js

test:
@if [ "x$(BROWSER)" = "x" ]; then make test-node; else make test-browser; fi

Expand Down Expand Up @@ -36,12 +34,6 @@ test-browser-local:
lib-cov:
jscoverage lib lib-cov

superagent.js: lib/node/*.js lib/node/parsers/*.js
@./node_modules/.bin/browserify \
-t [ babelify --presets [ "babel-preset-es2015" --loose true ] ] \
--standalone superagent \
--outfile superagent.js .

test-server:
@node test/server

Expand All @@ -61,6 +53,6 @@ test-docs: docs/head.html docs/tail.html
> docs/test.html

clean:
rm -fr superagent.js components
rm -fr components

.PHONY: test-cov test docs test-docs clean test-browser-local
Loading

0 comments on commit 70df462

Please sign in to comment.