aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Trevor Elliott <trevor@galois.com>2013-06-07 11:59:57 -0700
committerGravatar Trevor Elliott <trevor@galois.com>2013-06-07 11:59:57 -0700
commit8690d56ff0bbd1031e8cc6788dd2159aac6b7adb (patch)
treed573336305dc756f357f20dd986f77cb3ceafb9b /Makefile
parentf42930c2226d07482725b03ad522c106c0bdec8b (diff)
Reorganize the build system
* Move all javascript source to src/js * Update the test runner, etc. * Do less javascript compilation
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile19
1 files changed, 5 insertions, 14 deletions
diff --git a/Makefile b/Makefile
index d98b544..f00f25c 100644
--- a/Makefile
+++ b/Makefile
@@ -59,7 +59,11 @@ clean::
# Subdirs ######################################################################
-$(eval $(call subdir,contexts))
+$(eval $(call subdir,src/js/fiveui))
+$(eval $(call subdir,src/js/chrome))
+$(eval $(call subdir,src/js/firefox))
+$(eval $(call subdir,src/js/tests))
+
$(eval $(call subdir,profiles))
$(eval $(call subdir,doc))
@@ -92,16 +96,3 @@ test: fiveui.crx fiveui.xpi $(topdir)/profiles/chrome $(topdir)/profiles/firefox
cd $(HEADLESS_DIR) && $(MVN_TEST_CMD)
endif
-
-
-# JS Unit Tests ###############################################################
-
-ifneq "$(PHANTOM_EXE)" ""
-
-test: test-js
-test-js:
- cd $(topdir)/contexts/data && $(PHANTOM_EXE) \
- lib/phantomjs_jasmine/phantomjs_jasminexml_runner.js \
- tests/PhantomJSJasmineRunner.html tests/reports/
-
-endif