Merge pull request #499 from orbitdb/fix/makefile

Keep package-lock on make clean, add make rebuild command
This commit is contained in:
Haad 2018-11-12 11:47:53 +01:00 committed by GitHub
commit b819a66208
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,6 +20,10 @@ build: test
clean: clean:
rm -rf orbitdb/ rm -rf orbitdb/
rm -rf node_modules/ rm -rf node_modules/
rm package-lock.json
clean-dependencies: clean
if [ -a package-lock.json ]; then rm package-lock.json; fi;
rebuild: | clean-dependencies build
.PHONY: test build .PHONY: test build