Permalink
Browse files

Include index.js in build

I was getting "Error: Cannot find module 'nodeunit'" after I ran
make install.
  • Loading branch information...
1 parent 973038a commit feb33a3cf9b21185664b6bec611996d89dbd5b2f @gsf gsf committed with caolan Nov 29, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 Makefile
View
@@ -87,7 +87,7 @@ build: stamp-build
stamp-build: $(wildcard deps/* lib/*.js)
touch $@;
mkdir -p $(BUILDDIR)/nodeunit
- cp -R bin deps lib package.json $(BUILDDIR)/nodeunit
+ cp -R bin deps index.js lib package.json $(BUILDDIR)/nodeunit
printf '#!/bin/sh\n$(NODEJS) $(NODEJSLIBDIR)/$(PACKAGE)/bin/nodeunit $$@' > $(BUILDDIR)/nodeunit.sh
test:

0 comments on commit feb33a3

Please sign in to comment.