You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
464 B
30 lines
464 B
TRAVIS ?= false |
|
EMACS ?= emacs |
|
CASK ?= cask |
|
|
|
ifeq ($(TRAVIS),true) |
|
PATTERN=--pattern 'can paste with \([^g]\|g[^i]\|gi[^s]\)' |
|
endif |
|
|
|
all: test |
|
|
|
test: |
|
${MAKE} clean |
|
${MAKE} unit |
|
${MAKE} build |
|
${MAKE} unit |
|
${MAKE} clean |
|
|
|
# Run all tests in tests/unit/ |
|
unit: |
|
${CASK} exec buttercup -L . tests/unit/ |
|
|
|
# Run all tests in tests/integration/ |
|
integration: |
|
${CASK} exec buttercup -L . tests/integration/ ${PATTERN} |
|
|
|
build: |
|
${CASK} build |
|
|
|
clean: |
|
${CASK} clean-elc
|
|
|