Permalink
Browse files

Added `make init` for submodules

  • Loading branch information...
1 parent a36b130 commit 596a39ba19d7914eec35789a1cfe5b69c2745706 @tj tj committed Jan 5, 2010
Showing with 5 additions and 2 deletions.
  1. +5 −2 Makefile
View
@@ -1,7 +1,10 @@
NODE = node
-test: spec/support/libxmljs/libxmljs.node
+init: lib/support/js-oo/Readme.md
+ @git submodule update --init
+
+test: init spec/support/libxmljs/libxmljs.node
@$(NODE) spec/node.js
app:
@@ -13,4 +16,4 @@ benchmark:
spec/support/libxmljs/libxmljs.node:
@scons -C spec/support/libxmljs libxmljs.node
-.PHONY: test benchmark app
+.PHONY: init test benchmark app

0 comments on commit 596a39b

Please sign in to comment.