-
-
Notifications
You must be signed in to change notification settings - Fork 580
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1046 from abo-abo/cl-lib
Replace dash with cl-lib
- Loading branch information
Showing
8 changed files
with
456 additions
and
346 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,18 @@ | ||
EMACS ?= emacs | ||
EMACSFLAGS = | ||
CASK = cask | ||
emacs ?= emacs | ||
bemacs = $(emacs) -batch -l test/elpa.el | ||
|
||
OBJECTS = projectile.elc | ||
elpa: update compile test | ||
|
||
elpa: | ||
$(CASK) install | ||
$(CASK) update | ||
touch $@ | ||
update: | ||
$(emacs) -batch -l test/make-update.el | ||
|
||
.PHONY: build | ||
build : elpa $(OBJECTS) | ||
compile: | ||
$(bemacs) -l test/make-compile.el | ||
|
||
.PHONY: byte-compile-strict | ||
byte-compile-strict : elpa | ||
$(CASK) exec $(EMACS) --no-site-file --no-site-lisp --batch \ | ||
--directory "." \ | ||
$(EMACSFLAGS) \ | ||
--eval "(progn \ | ||
(setq byte-compile-error-on-warn t) \ | ||
(batch-byte-compile))" projectile.el | ||
test: | ||
$(bemacs) -l test/run-tests | ||
|
||
.PHONY: test | ||
test : byte-compile-strict | ||
$(CASK) exec $(EMACS) --no-site-file --no-site-lisp --batch \ | ||
$(EMACSFLAGS) \ | ||
-l test/run-tests | ||
clean: | ||
rm -f *.elc | ||
|
||
.PHONY: clean | ||
clean : | ||
rm -f $(OBJECTS) | ||
rm -f elpa | ||
rm -rf .cask # Clean packages installed for development | ||
|
||
%.elc : %.el | ||
$(CASK) exec $(EMACS) --no-site-file --no-site-lisp --batch \ | ||
$(EMACSFLAGS) \ | ||
-f batch-byte-compile $< | ||
.PHONY: all update compile test clean |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.