From 208c94989ae0e69b7550e3b0ab50ee7a4a85aed8 Mon Sep 17 00:00:00 2001 From: tabcat Date: Fri, 24 Jun 2022 12:36:26 -0500 Subject: [PATCH] make build no run tests; edit example docs --- Makefile | 2 +- README.md | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 1bf21e6..feb4aa8 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ test: deps npm run test:all -- --exit npx validate-maintainers orbit-db --match --ci -build: test +build: mkdir -p examples/browser/lib/ npm run build cp dist/orbitdb.min.js examples/browser/lib/orbitdb.min.js diff --git a/README.md b/README.md index 7ba01ee..7c0aa70 100644 --- a/README.md +++ b/README.md @@ -160,13 +160,15 @@ to redo the local package-lock.json with working native dependencies. ### Browser example ``` -make +npm install # if not yet installed +make build npm run examples:browser # if browser isn't opening, open examples/browser/browser.html in your browser ``` Using Webpack: ``` -make +npm install # if not yet installed +make build npm run examples:browser-webpack # if browser isn't opening, open examples/browser/browser-webpack-example/index.html in your browser ```