From 5bbf61758df4e44b8325ca1457e84a0a53bc4d29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorben=20G=C3=BCnther?= Date: Fri, 22 Oct 2021 14:37:02 +0200 Subject: [PATCH] Add build with lint --- .build.yml | 9 +++++++++ Makefile | 4 ++++ README.md | 2 ++ 3 files changed, 15 insertions(+) create mode 100644 .build.yml create mode 100644 Makefile diff --git a/.build.yml b/.build.yml new file mode 100644 index 0000000..02e6711 --- /dev/null +++ b/.build.yml @@ -0,0 +1,9 @@ +image: archlinux +packages: + - selene-linter +sources: + - https://git.xenrox.net/~xenrox/srht-patches.nvim +tasks: + - lint: | + cd srht-patches.nvim + make lint diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..3c0ef01 --- /dev/null +++ b/Makefile @@ -0,0 +1,4 @@ +lint: + selene lua + +.PHONY: lint diff --git a/README.md b/README.md index c53e699..d4c8b83 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # srht-patches.nvim +[![builds.sr.ht status](https://builds.xenrox.net/~xenrox/srht-patches.nvim/commits/.build.yml.svg)](https://builds.xenrox.net/~xenrox/srht-patches.nvim/commits/.build.yml?) + srht-patches.nvim is a plugin for neovim that helps to set the status of patchsets. It currently supports "applied" (`PatchApplied`), "rejected" (`PatchRejected`) and "needs revision" (`PatchNeedsRevision`). You can either bind these commands to bindings or use the `setup` function to configure this plugin to ask for the status on save (`auto_check`). -- 2.44.0