Line | |
---|
1 | build:
|
---|
2 | @emacs -batch -Q --no-site-file --script .emacs \
|
---|
3 | --eval '(find-file-literally "index.org")' \
|
---|
4 | --eval '(org-publish-project "blog" t)'
|
---|
5 | @echo "Done"
|
---|
6 |
|
---|
7 | serve:
|
---|
8 | @echo "Press <C-c> to interrupt"
|
---|
9 | @emacs -batch -Q --no-site-file --script .emacs \
|
---|
10 | --eval '(httpd-serve-directory "./dist")' \
|
---|
11 | --eval '(sit-for 10000)' >/dev/null; true
|
---|
12 |
|
---|
13 | stop:
|
---|
14 | @emacs -batch -Q --no-site-file --script .emacs \
|
---|
15 | --eval '(httpd-stop)' \
|
---|
Note:
See
TracBrowser
for help on using the repository browser.