Skip to content
This repository has been archived by the owner on Jan 13, 2018. It is now read-only.

Commit

Permalink
fixes #477. make test-setup to create symlink and install submodules
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexej Yaroshevich committed Nov 9, 2013
1 parent ed506a8 commit 4f4f668
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,3 @@ matrix:
- node_js: "0.11"

before_install: "npm -g install npm"
before_script: "ln -s .. node_modules/bem && ls -la node_modules && git submodule init && git submodule update"
7 changes: 6 additions & 1 deletion GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,13 @@ clean:
jshint:
$(JSHINT) lib test

.PHONY: test-setup
test-setup:
@test -e node_modules/bem || ln -s .. node_modules/bem
@git submodule update --init

.PHONY: test
test: jshint
test: test-setup jshint
$(MOCHA)

.PHONY: lib-cov
Expand Down

0 comments on commit 4f4f668

Please sign in to comment.