From 321e953a1df157acd68f3849030874995d2f66d1 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Wed, 10 Aug 2016 15:41:54 -0700 Subject: [PATCH 1/2] Clean libchromiumcontent/src --- script/clean.py | 1 + 1 file changed, 1 insertion(+) diff --git a/script/clean.py b/script/clean.py index f15587ec8d2..669b6b4dd5f 100755 --- a/script/clean.py +++ b/script/clean.py @@ -16,6 +16,7 @@ def main(): rm_rf('out') rm_rf('spec/node_modules') rm_rf('vendor/brightray/vendor/download/libchromiumcontent') + rm_rf('vendor/brightray/vendor/libchromiumcontent/src') rm_rf(os.path.expanduser('~/.node-gyp')) From bc28f8d3cc858f845eafa1c89187969b4e6f86f1 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Wed, 10 Aug 2016 15:45:07 -0700 Subject: [PATCH 2/2] Add clean npm run script --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 33ca596e90a..8a5dfea42d0 100644 --- a/package.json +++ b/package.json @@ -25,6 +25,7 @@ "scripts": { "bootstrap": "python ./script/bootstrap.py", "build": "python ./script/build.py -c D", + "clean": "python ./script/clean.py", "coverage": "npm run instrument-code-coverage && npm test -- --use-instrumented-asar", "instrument-code-coverage": "electabul instrument --input-path ./lib --output-path ./out/coverage/electron.asar", "lint": "npm run lint-js && npm run lint-cpp && npm run lint-docs",