projects
/
blog.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
89a798f
)
Change ci script applying the make file
author
Peng Li
<seudut@gmail.com>
Sun, 12 Mar 2017 11:22:47 +0000
(19:22 +0800)
committer
Peng Li
<seudut@gmail.com>
Sun, 12 Mar 2017 11:22:47 +0000
(19:22 +0800)
.travis.yml
patch
|
blob
|
history
Makefile
patch
|
blob
|
history
diff --git
a/.travis.yml
b/.travis.yml
index
ca24202
..
cd810ba
100644
(file)
--- a/
.travis.yml
+++ b/
.travis.yml
@@
-11,5
+11,4
@@
env:
- EVM_EMACS=emacs-25.1-travis
script:
- EVM_EMACS=emacs-25.1-travis
script:
- - make all FORCE=true
- - curl http://www.seudut.com/cgi-bin/update.pl
\ No newline at end of file
+ - make test
diff --git
a/Makefile
b/Makefile
index
00e53a2
..
a5cc351
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-18,10
+18,11
@@
publish:
--eval '(blog-setup-project-alist "$(BLOGDIR)" "$(OUTDIR)")' \
--eval '(org-publish-current-project)'
--eval '(blog-setup-project-alist "$(BLOGDIR)" "$(OUTDIR)")' \
--eval '(org-publish-current-project)'
-compile:
+# test will force publishing all files in the porject
+test:
$(emacs) -Q --batch -l my-publish.el index.org \
--eval '(setq debug-on-error t)' \
$(emacs) -Q --batch -l my-publish.el index.org \
--eval '(setq debug-on-error t)' \
- --eval '(blog-setup-project-alist "$(BLOGDIR)"
"$(OUTDIR)")
' \
+ --eval '(blog-setup-project-alist "$(BLOGDIR)"' \
--eval '(org-publish-current-project t)'
clean:
--eval '(org-publish-current-project t)'
clean: