Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 21 lines (16 sloc) 0.53 kb
aa848fa Paul Armstrong Adding JSLint make task (nodelint as devDependencies)
paularmstrong authored
1 all:
9adb478 Paul Armstrong Have ensure npm dev dependencies are installed.
paularmstrong authored
2 @npm install -d
a9e2a27 Paul Armstrong Adding commit hooks that force tests and lint to pass before committing....
paularmstrong authored
3 @cp scripts/githooks/* .git/hooks/
4 @chmod -R +x .git/hooks/
aa848fa Paul Armstrong Adding JSLint make task (nodelint as devDependencies)
paularmstrong authored
5
ded246b Paul Armstrong First pass at packaging for browser.
paularmstrong authored
6 browser:
16a0326 Paul Armstrong move browser build to bash script, add pack underscore task
paularmstrong authored
7 @scripts/browser.sh
ded246b Paul Armstrong First pass at packaging for browser.
paularmstrong authored
8
c526245 Paul Armstrong remove need for runlint/runtest scripts
paularmstrong authored
9 tests := $(shell find . -name '*.test.js' ! -path "*node_modules/*" ! -path "*dist/*")
10 reporter = skip_passed
f0bbc1a Paul Armstrong adding test to task to make
paularmstrong authored
11 test:
c526245 Paul Armstrong remove need for runlint/runtest scripts
paularmstrong authored
12 @node_modules/nodeunit/bin/nodeunit --reporter ${reporter} ${tests}
0241937 Paul Armstrong easily run a single test file
paularmstrong authored
13
c526245 Paul Armstrong remove need for runlint/runtest scripts
paularmstrong authored
14 files := $(shell find . -name '*.js' ! -path "*node_modules/*" ! -path "*dist/*")
aa848fa Paul Armstrong Adding JSLint make task (nodelint as devDependencies)
paularmstrong authored
15 lint:
c526245 Paul Armstrong remove need for runlint/runtest scripts
paularmstrong authored
16 @node_modules/nodelint/nodelint ${files} --config=scripts/config-lint.js
17
18 speed:
19 @node tests/speed.js
aa848fa Paul Armstrong Adding JSLint make task (nodelint as devDependencies)
paularmstrong authored
20
c526245 Paul Armstrong remove need for runlint/runtest scripts
paularmstrong authored
21 .PHONY: all browser test lint speed
Something went wrong with that request. Please try again.