tikiwiki/packages/tiki-pkg-casperjs/jerome-breton/casperjs/Makefile
2023-11-20 20:52:04 +00:00

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 .