-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathMakefile
64 lines (45 loc) · 1.07 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
PACKAGE = dashboard-project-status
VERSION = $$(grep "^;; Version: " $(PACKAGE).el | cut -f3 -d' ')
ARCHIVE = $(PACKAGE)-$(VERSION).tar
EMACS ?= emacs
CASK ?= cask
LANG=en_US.UTF-8
.PHONY: clean
# pr:
# hub pull-request -b org-trello:master
deps:
${CASK}
build:
${CASK} build
clean-dist:
rm -rf dist/
clean: clean-dist
rm -rf *.tar
${CASK} clean-elc
install:
${CASK} install
test: clean
${CASK} exec ert-runner
pkg-file:
${CASK} pkg-file
pkg-el: pkg-file
${CASK} package
package: clean pkg-el
cp dist/$(ARCHIVE) .
make clean-dist
info:
${CASK} info
# install-package-from-melpa:
# ./install-package-from.sh melpa
# install-file-with-deps-from-melpa: package
# ./install-file-with-deps-from.sh melpa $(VERSION)
# release:
# ./release.sh $(VERSION) $(PACKAGE)
version:
@echo "application $(PACKAGE): $(VERSION)\npackage: $(ARCHIVE)"
install-cask:
curl -fsSkL https://raw.github.com/cask/cask/master/go | python
# emacs-install-clean: package
# ~/bin/emacs/emacs-install-clean.sh ./$(ARCHIVE)
tests:
./run-tests.sh 25.1-travis 25.2-travis 25.3-travis 26.1-travis