37 lines
722 B
Makefile
Executable File
37 lines
722 B
Makefile
Executable File
.PHONY: default test test-dotNET docs selftest compile-dotNET selftest-dotNET clitest clitest-dotNET lint
|
|
|
|
default: test
|
|
|
|
test: selftest clitest lint
|
|
|
|
test-dotNET: compile-dotNET selftest-dotNET clitest-dotNET lint
|
|
|
|
test-headless: selftest-headless clitest lint
|
|
|
|
docs:
|
|
sphinx-build -b html ./docs docs/_build
|
|
|
|
selftest:
|
|
bin/casperjs --help
|
|
bin/casperjs selftest
|
|
|
|
compile-dotNET:
|
|
mcs -langversion:3 -out:bin/casperjs.exe src/casperjs.cs
|
|
|
|
selftest-dotNET:
|
|
mono bin/casperjs.exe --help
|
|
mono bin/casperjs.exe selftest
|
|
|
|
selftest-headless:
|
|
bin/casperjs --help
|
|
bin/casperjs selftest --headless
|
|
|
|
clitest:
|
|
python tests/clitests/runtests.py
|
|
|
|
clitest-dotNET:
|
|
python tests/clitests/runtests.py casperjs.exe
|
|
|
|
lint:
|
|
eslint .
|