tikiwiki/packages/tiki-pkg-casperjs/jerome-breton/casperjs/Makefile

37 lines
722 B
Makefile
Raw Normal View History

2023-11-20 21:52:04 +01:00
.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 .