forked from fulcrologic/fulcro-developer-guide
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
23 lines (18 loc) · 747 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
# gem install asciidoctor asciidoctor-diagram
# gem install coderay
docs/DevelopersGuide.html: DevelopersGuide.adoc
asciidoctor -o docs/DevelopersGuide.html -b html5 -r asciidoctor-diagram DevelopersGuide.adoc
book: docs/DevelopersGuide.html
build-report:
npx shadow-cljs run shadow.cljs.build-report book report.html
open report.html
bookdemos:
rm -rf docs/js/book docs/js/book.js
npm install
shadow-cljs release book
publish: book
rsync -av docs/DevelopersGuide.html linode:/usr/share/nginx/html/index.html
publish-all: book
rsync -av docs/DevelopersGuide.html linode:/usr/share/nginx/html/index.html
rsync -av docs/js/book/*.js linode:/usr/share/nginx/html/js/book/
rsync -av docs/assets/img linode:/usr/share/nginx/html/assets/