aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 12b8152..1266d02 100644
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,17 @@
## SPDX-FileCopyrightText: 2021 M. Shulhan <ms@kilabit.info>
## SPDX-License-Identifier: GPL-3.0-or-later
-.PHONY: all watch
+.PHONY: all
+all: build lint
-all:
+.PHONY: lint
+lint:
+ npx eslint --fix .
+
+.PHONY: build
+build:
tsc --outDir .
+.PHONY: watch
watch:
tsc --outDir . --watch