mirror of
https://github.com/orbitdb/orbitdb.git
synced 2025-10-07 22:57:07 +00:00
Use immutable ipfs-log. Simplify internals. Remove obsolete dependencies. Update dependencies. Use @dignifiedquire's mapSeries for Promises. Split tests to individual stores. Improve tests. Fix build process. Build size down to 121kb. Fix benchmarks and examples. Move Cache to Stores (and to its own module).
23 lines
439 B
Makefile
23 lines
439 B
Makefile
all: build
|
|
|
|
deps:
|
|
npm install
|
|
|
|
test: deps
|
|
npm run test
|
|
|
|
build: test
|
|
npm run build
|
|
mkdir -p examples/browser/lib/
|
|
cp dist/orbitdb.min.js examples/browser/lib/orbitdb.min.js
|
|
cp node_modules/ipfs-daemon/dist/ipfs-browser-daemon.min.js examples/browser/lib/ipfs-browser-daemon.min.js
|
|
@echo "Build success!"
|
|
@echo "Output: 'dist/', 'examples/browser/'"
|
|
|
|
clean:
|
|
rm -rf orbit-db/
|
|
rm -rf ipfs/
|
|
rm -rf node_modules/
|
|
|
|
.PHONY: test build
|