diff options
| author | Miquel Sabaté Solà <msabate@suse.com> | 2020-02-11 14:41:54 +0100 |
|---|---|---|
| committer | Miquel Sabaté Solà <msabate@suse.com> | 2020-02-11 16:17:51 +0100 |
| commit | 5ecfe54d15471c2a4b4c71f412161c80f43fd63d (patch) | |
| tree | 98333411d3a6a32a80856bf26da1f418fe0b1815 /Makefile | |
| parent | 4909f2b993ebd08a10bee4f0eb8742d69211889a (diff) | |
| download | dotfiles-5ecfe54d15471c2a4b4c71f412161c80f43fd63d.tar.gz dotfiles-5ecfe54d15471c2a4b4c71f412161c80f43fd63d.zip | |
ci: rebumped again how things are built
Following the example set by writer-mode, I feel much more comfortable with the
nix approach of installing GNU Emacs (much more reliable on CI). Plus, I've also
added a Makefile so things are easier to test.
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..e8220ae --- /dev/null +++ b/Makefile @@ -0,0 +1,22 @@ +all: test + +.PHONY: test +test: vendor emacs scripts lint + +.PHONY: vendor +vendor: + @gem install rubocop + +.PHONY: emacs +emacs: + @lsb_release -a + @cd .emacs.d && ./test-emacs.sh + +.PHONY: scripts +scripts: + @cd bin/test && ./test.sh + +.PHONY: lint +lint: + @find . -name "*.sh" ! -name ".gitcompletion.sh" ! -name ".hgcompletion.sh" -not -path "./.emacs.d/*" -exec shellcheck \{\} \+ + @rubocop |
