Changeset a8435cf in at-w96k


Ignore:
Timestamp:
Jan 11, 2020, 3:49:41 AM (5 years ago)
Author:
Mikhail Kirillov <w96k@…>
Branches:
master
Children:
ba742f0
Parents:
c98d431
git-author:
Mikhail Kirillov <w96k@…> (01/11/20 03:09:31)
git-committer:
Mikhail Kirillov <w96k@…> (01/11/20 03:49:41)
Message:

Add building scripts

Files:
3 added
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    rc98d431 ra8435cf  
    11build:
    2         rm -rf site/
    3         sassc ./css/mini.scss --style compressed > ./css/mini.css
    4         haunt build
    5         mkdir site/posts
    6         mkdir site/posts/dobryakov_employment
    7         mv site/dobryakov_employment.html site/posts/dobryakov_employment/index.html
    8         mkdir site/posts/pirogov_fp
    9         mv site/pirogov_fp.html site/posts/pirogov_fp/index.html
    10         mkdir site/posts/libreboot_x200t
    11         mv site/libreboot_x200t.html site/posts/libreboot_x200t/index.html
     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 TracChangeset for help on using the changeset viewer.