Spaces:
Runtime error
Runtime error
Download masteringModule/node_modules/superagent/Makefile from SE-09/HapticsProject: direct link, hf CLI and curl.
- Browser
- Download file 1.29 kB
-
https://huggingface.co/spaces/SE-09/HapticsProject/resolve/refs%2Fpr%2F32/masteringModule/node_modules/superagent/Makefile
- Command line
-
hf download hf://spaces/SE-09/HapticsProject@refs/pr/32/masteringModule/node_modules/superagent/Makefile
-
curl -L -o Makefile https://huggingface.co/spaces/SE-09/HapticsProject/resolve/refs%2Fpr%2F32/masteringModule/node_modules/superagent/Makefile
1.29 kB
| 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 | |
| test-node: | |
| @NODE_ENV=test NODE_TLS_REJECT_UNAUTHORIZED=0 ./node_modules/.bin/mocha \ | |
| --require should \ | |
| --reporter $(REPORTER) \ | |
| --timeout 5000 \ | |
| --growl \ | |
| $(NODETESTS) | |
| test-cov: lib-cov | |
| SUPERAGENT_COV=1 $(MAKE) test REPORTER=html-cov > coverage.html | |
| test-browser: | |
| SAUCE_APPIUM_VERSION=1.6 ./node_modules/.bin/zuul -- $(BROWSERTESTS) | |
| test-browser-local: | |
| ./node_modules/.bin/zuul --no-coverage --local 4000 -- $(BROWSERTESTS) | |
| lib-cov: | |
| jscoverage lib lib-cov | |
| superagent.js: lib/node/*.js lib/node/parsers/*.js | |
| @./node_modules/.bin/browserify \ | |
| --standalone superagent \ | |
| --outfile superagent.js . | |
| test-server: | |
| @node test/server | |
| docs: index.html test-docs docs/index.md | |
| index.html: docs/index.md docs/head.html docs/tail.html | |
| marked < $< \ | |
| | cat docs/head.html - docs/tail.html \ | |
| > $@ | |
| docclean: | |
| rm -f index.html test.html | |
| test-docs: docs/head.html docs/tail.html | |
| make test REPORTER=doc \ | |
| | cat docs/head.html - docs/tail.html \ | |
| > test.html | |
| clean: | |
| rm -fr superagent.js components | |
| .PHONY: test-cov test docs test-docs clean test-browser-local | |