diff --git a/Makefile b/Makefile index 9cbc3a7..c0f3e1e 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,8 @@ -all: *.json *.js img/* *.md *.txt +all: zip -r bitbucket-fork-redirect.zip * -x '.git/*' -x 'server/*' -x 'node_modules/*' -x img/screenshot.png -x .gitignore -x Makefile +lint: + npm run lint + clean: rm *.zip diff --git a/package.json b/package.json index d5119c9..e998f6a 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "An extension with a few convenience features for bitbucket server", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", - "lint": "make all && addons-linter bitbucket-fork-redirect.zip" + "lint": "make all && addons-linter --self-hosted bitbucket-fork-redirect.zip" }, "repository": { "type": "git",