Skip to content

Commit cce3cd6

Browse files
committed
# git submodule is initialized automatically when running make test
1 parent 6e23223 commit cce3cd6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ install: all
1515
$(INSTALL) src/lua/api-gateway/resty/*.lua $(DESTDIR)/$(LUA_LIB_DIR)/api-gateway/resty/
1616

1717
test:
18+
echo "updating git submodules ..."
19+
if [ ! -d "test/resources/test-nginx/lib" ]; then git submodule update --init --recursive; fi
1820
echo "running tests ..."
1921
# cp -r test/resources/api-gateway $(BUILD_DIR)
2022
mkdir -p $(BUILD_DIR)/

0 commit comments

Comments
 (0)