summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorChristian Segundo2023-10-08 22:30:48 +0200
committerChristian Segundo2023-10-08 22:30:48 +0200
commit9ff53495505b8b70971d50ef05b2863a9ce27112 (patch)
tree2c121e4de865febbe809379c6ec0fc725c92125d /Makefile
parenta4644e03b1aa7daf0f2d4c0474d04c3b3aabebbd (diff)
parentafa6b4b6195483d73cb6a91bc757652301275ed6 (diff)
downloadpromqlfmt-9ff53495505b8b70971d50ef05b2863a9ce27112.tar.gz
Merge branch 'ft/ci'
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..3cae985
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,11 @@
+.PHONY: lint
+lint:
+ stylua -c .
+
+.PHONY: test
+test:
+ nvim --headless -u test/init.lua -c "PlenaryBustedDirectory test/ {minimal_init = 'test/init.lua', sequential = true}"
+
+.PHONY: clean
+clean:
+ rm -rf .test