Skip to content

Commit

Permalink
add codepell to Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
jcubic committed Mar 28, 2024
1 parent 85d0ccf commit d295c24
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: publish test coveralls lint zero coverage
.PHONY: publish test coveralls lint zero coverage codespell

VERSION=1.0.0-beta.18.1
VERSION_DASH=`echo -n "1.0.0-beta.18.1" | sed "s/-/%E2%80%93/"`
Expand All @@ -23,6 +23,7 @@ CAT=cat
NPM=npm
NODE=node
WGET=wget
CODESPELL=codespell
ESLINT=./node_modules/.bin/eslint
COVERALLS=./node_modules/.bin/coveralls
JEST=./node_modules/.bin/jest
Expand Down Expand Up @@ -129,5 +130,8 @@ watch-make:
coverage:
$(NPM) run coverage

codespell:
$(CODESPELL) -S 'package-lock.json,node_modules,build,coverage'

lint:
$(ESLINT) src/lips.js lib/js/bookmark.js
6 changes: 5 additions & 1 deletion templates/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: publish test coveralls lint zero coverage
.PHONY: publish test coveralls lint zero coverage codespell

VERSION={{VERSION}}
VERSION_DASH=`echo -n "{{VERSION}}" | sed "s/-/%E2%80%93/"`
Expand All @@ -23,6 +23,7 @@ CAT=cat
NPM=npm
NODE=node
WGET=wget
CODESPELL=codespell
ESLINT=./node_modules/.bin/eslint
COVERALLS=./node_modules/.bin/coveralls
JEST=./node_modules/.bin/jest
Expand Down Expand Up @@ -129,5 +130,8 @@ watch-make:
coverage:
$(NPM) run coverage

codespell:
$(CODESPELL) -S 'package-lock.json,node_modules,build,coverage'

lint:
$(ESLINT) src/lips.js lib/js/bookmark.js

0 comments on commit d295c24

Please sign in to comment.