From a3f430ef035126e1d72d210cf387a0729f254f28 Mon Sep 17 00:00:00 2001 From: Manish Jethani Date: Tue, 10 Aug 2021 07:29:44 +0530 Subject: [PATCH] Remove install-nodejs and related make targets (#3809) --- Makefile | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/Makefile b/Makefile index 387187b01..e1d889e7c 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: all clean lint install chromium firefox nodejs install-nodejs-link install-nodejs uninstall-nodejs +.PHONY: all clean lint chromium firefox nodejs sources := $(wildcard src/* src/*/* src/*/*/* src/*/*/*/*) platform := $(wildcard platform/* platform/*/*) @@ -27,23 +27,6 @@ dist/build/uBlock0.nodejs: tools/make-nodejs.sh $(sources) $(platform) $(assets) # Build the Node.js package. nodejs: dist/build/uBlock0.nodejs -# Install the Node.js package as a link in the node_modules directory. This is -# convenient for development, but it breaks when the dist/build directory is -# cleaned up. -install-nodejs-link: dist/build/uBlock0.nodejs - npm install dist/build/uBlock0.nodejs --no-save - -dist/build/uBlock0.nodejs.tgz: dist/build/uBlock0.nodejs - cd dist/build && tar czf uBlock0.nodejs.tgz uBlock0.nodejs - -# Install the Node.js package. -install-nodejs: dist/build/uBlock0.nodejs.tgz - npm install dist/build/uBlock0.nodejs.tgz --no-save - -# Uninstall the Node.js package. -uninstall-nodejs: - npm uninstall '@gorhill/ubo-core' --no-save - lint: nodejs eslint -c platform/nodejs/eslintrc.json \ dist/build/uBlock0.nodejs/js \