Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Gerwitz <gerwitm@lovullo.com>2016-03-01 00:48:36 -0500
committerMike Gerwitz <gerwitm@lovullo.com>2016-03-01 00:48:37 -0500
commit78c3cc63e169eeeec6f48034037367ce89aee58f (patch)
treefdf7e56fb11da6276b4f16a6d277c1bc39b9b059 /Makefile.am
parent578c064538bed3a65a6f52653ab6d32d6e24ddc0 (diff)
downloadliza-78c3cc63e169eeeec6f48034037367ce89aee58f.tar.gz
liza-78c3cc63e169eeeec6f48034037367ce89aee58f.tar.bz2
liza-78c3cc63e169eeeec6f48034037367ce89aee58f.zip
add es6-promise shim
It is expected that support for promises will be available in whatever environment liza is run. Here, we're adding a shim for the sake of testing in ancient environments. It's almost as if I'm stuck using an ancient environment somewhere...*cough*
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 8e8d673..ee3f93d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -18,7 +18,8 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
##
-path_src = $(top_builddir)/src
+path_src = $(top_builddir)/src
+path_test = $(top_builddir)/test
namespaces=$(shell find src -type d)
nsindex=$(addsuffix /index.js, $(namespaces))
@@ -37,6 +38,6 @@ modindex: $(nsindex)
test: check
check:
@PATH="$(PATH):$(CURDIR)/node_modules/mocha/bin" \
- mocha --recursive $(TESTARGS)
+ mocha --require $(path_test)/pre.js --recursive $(TESTARGS)
FORCE: