diff --git a/Makefile b/Makefile index 579259d1..1e781dab 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,9 @@ build: pre_build ./Makefile.dryice.js bm doc: - cd doc; node build.js + cd doc;\ + test -d node_modules || npm install;\ + node build.js clean: rm -rf build diff --git a/doc/README.md b/doc/README.md index 38dbd144..d5036edf 100644 --- a/doc/README.md +++ b/doc/README.md @@ -12,6 +12,7 @@ In the root directory, just run: In this directory, just run: + npm install node build.js # Build File diff --git a/doc/package.json b/doc/package.json new file mode 100644 index 00000000..6d332fa2 --- /dev/null +++ b/doc/package.json @@ -0,0 +1,7 @@ +{ + "name": "ace-api", + "version": "0.0.0", + "dependencies": { + "panino" : "~1.0.15" + } +} \ No newline at end of file