forked from mlavin/django-selectable
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
21 lines (16 loc) · 664 Bytes
/
Makefile
File metadata and controls
21 lines (16 loc) · 664 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
STATIC_DIR = ./selectable/static/selectable
QUNIT_TESTS = file://`pwd`/selectable/tests/qunit/index.html
test-js:
# Run JS tests
# Requires phantomjs
phantomjs run-qunit.js ${QUNIT_TESTS}?jquery=1.11.2&ui=1.11.4
phantomjs run-qunit.js ${QUNIT_TESTS}?jquery=1.11.2&ui=1.10.4
phantomjs run-qunit.js ${QUNIT_TESTS}?jquery=1.10.2&ui=1.11.4
phantomjs run-qunit.js ${QUNIT_TESTS}?jquery=1.10.2&ui=1.10.4
phantomjs run-qunit.js ${QUNIT_TESTS}?jquery=1.9.1&ui=1.11.4
phantomjs run-qunit.js ${QUNIT_TESTS}?jquery=1.9.1&ui=1.10.4
lint-js:
# Check JS for any problems
# Requires jshint
jshint ${STATIC_DIR}/js/jquery.dj.selectable.js
.PHONY: lint-js test-js