aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-04-07 01:23:29 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-04-07 01:23:29 +0530
commit1471aae8927c20d646cc2aa5ab0e20c1a7f2c0ca (patch)
tree32d32d7f33b2ca64cf101006442b1b17bfaf61aa /Makefile
parent47787c0b0b846d5f4a057661efdd05d8786032f1 (diff)
linter / simpler webextension pack
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 873282ecb..46e7e0b2e 100644
--- a/Makefile
+++ b/Makefile
@@ -44,11 +44,7 @@ yarn-install:
.PHONY: webextensions
webextensions: rollup
- rm -rf dist/wx
- mkdir dist/wx
- cp webextension/manifest.json dist/wx/
- cp -r webextension/static/* dist/wx/
- cp -r dist/webextension/* dist/wx/
+ ./webextension/pack.sh
.PHONY: i18n
i18n: yarn-install
@@ -86,4 +82,4 @@ rollup: tsc
.PHONY: lint
lint:
- ./node_modules/.bin/eslint 'src/**/*'
+ ./node_modules/.bin/eslint 'src/**/*' --ext '.js,.ts,.tsx'