-
Notifications
You must be signed in to change notification settings - Fork 653
Expand file tree
/
Copy pathMakefile
More file actions
34 lines (28 loc) · 690 Bytes
/
Makefile
File metadata and controls
34 lines (28 loc) · 690 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Copyright 2019 <chaishushan{AT}gmail.com>. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
#
# waBook: Mini Markdown Book
# https://github.com/wa-lang/wabook
#
default:
wabook serve
build:
-rm book
wabook build
-rm book/.gitignore
-rm -rf book/.git
deploy:
-@make clean
wabook build
-rm book/.gitignore
-rm -rf book/.git
-rm -rf book/examples
cd book && git init
cd book && git add .
cd book && git commit -m "first commit"
cd book && git branch -M gh-pages
cd book && git remote add origin git@github.com:chai2010/go-ast-book.git
cd book && git push -f origin gh-pages
clean:
-rm -rf book