-
Notifications
You must be signed in to change notification settings - Fork 19
/
Makefile
62 lines (44 loc) · 971 Bytes
/
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
PACKAGE = org2jekyll
VERSION = $$(grep "^;; Version: " $(PACKAGE).el | cut -f3 -d' ')
ARCHIVE = $(PACKAGE)-$(VERSION).tar
EMACS ?= emacs
CASK ?= cask
BLOG ?= testing-blog
activate:
nix develop
pr:
hub pull-request -b ardumont:master
.PHONY: clean
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-el:
${CASK} package
package: clean pkg-el
cp dist/$(ARCHIVE) .
make clean-dist
info:
${CASK} info
release:
./release.sh $(VERSION) $(PACKAGE)
version:
@echo -e "application $(PACKAGE): $(VERSION)\npackage: $(ARCHIVE)"
update:
cd $(BLOG) ; bundle update; bundle lock; bundix
run-dev:
cd $(BLOG); bundle exec jekyll serve --watch --trace
clean-dev:
cd $(BLOG); bundle exec jekyll clean
run-emacs:
cd testing-blog && $(EMACS) -Q --load=../org2jekyll.el --load=./testing-blog-config.el \
--eval="(dired \"./org\")"