branch: elpa/inf-clojure commit e144b335fae20418e783c4067463de38de56b65a Author: Andrea Richiardi <a.richiardi.w...@gmail.com> Commit: Bozhidar Batsov <bozhidar.bat...@gmail.com>
Improve the Makefile commands This also gets rid of one step in the CircleCI configuration. --- .circleci/config.yml | 1 - Makefile | 20 +++++++++++++++----- 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 0c22fca..4b68ebe 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -5,7 +5,6 @@ default: &default-steps steps: - checkout - run: apt-get update && apt-get install make - - run: make elpa - run: make test # Enumerated list of Emacs versions diff --git a/Makefile b/Makefile index 34fa168..d002f72 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,19 @@ -version: - emacs --version +.PHONY: clean version test -test : version - cask exec buttercup -L . +all: build -elpa: +clean: + rm -rf .cask + +.cask: cask install cask update + +version: + emacs --version + +build: version .cask + cask build + +test: version .cask + cask exec buttercup -L .