Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@ ESLINT_TEST_OPTIONS = --parser-options '{"project":["tsconfig.json"]}'
all:
@echo 'Nothing to do'

help:
@echo "Usage: make [target]"
@echo ""
@echo "Targets:"
@echo " all - Default target (does nothing)"
@echo " test - Runs the test suite"
@echo " clean - Removes build artifacts"
@echo " distclean - Removes all build artifacts and dependencies"

node_modules/.done: package.json package-lock.json
rm -rf node_modules
npm install
Expand Down Expand Up @@ -41,4 +50,4 @@ clean:
distclean: clean
@:

.PHONY: all test clean distclean
.PHONY: all help test clean distclean
12 changes: 5 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@
"type": "module",
"scripts": {
"test": "make test",
"eslint": "eslint"
"eslint": "eslint",
"make:all": "make all",
"make:test": "make test",
"make:clean": "make clean",
"make:distclean": "make distclean"
},
"devDependencies": {
"@eslint/js": "9.13.0",
Expand All @@ -32,12 +36,6 @@
"eslint": "9.13.0",
"typescript": "~5.6.3"
},
"devDependencies": {
"@eslint/js": "9.13.0",
"@types/eslint__js": "8.42.3",
"@types/node": "20.16.11",
"typescript": "5.6.3"
},
"engines": {
"node": "20.18.0"
}
Expand Down
Loading