source: Makefile@ 5f744ae

Last change on this file since 5f744ae was a8435cf, checked in by Mikhail Kirillov <w96k@…>, on Jan 11, 2020 at 3:49:41 AM

Add building scripts

  • Property mode set to 100644
File size: 437 bytes
Line 
1build:
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
7serve:
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
13stop:
14 @emacs -batch -Q --no-site-file --script .emacs \
15 --eval '(httpd-stop)' \
Note: See TracBrowser for help on using the repository browser.