forked from scientific-python/scientific-python.org
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
31 lines (24 loc) · 692 Bytes
/
Makefile
File metadata and controls
31 lines (24 loc) · 692 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
.PHONY: html serve serve-dev serve-all clean github pull
html:
@hugo --buildDrafts
@touch public/.nojekyll
@echo "scientific-python.org" > public/CNAME
serve:
@hugo --i18n-warnings --buildDrafts server
serve-all:
@hugo --i18n-warnings --buildDrafts server
serve-dev:
@hugo --i18n-warnings --buildDrafts server --disableFastRender
clean:
rm -rf public
github: | clean html
./push_dir_to_repo.py \
--branch master \
--email sprintbot@sprintbot \
--committer "sprintbot" \
--message "Update website" \
--force \
./public [email protected]:scientific-python/scientific-python.org-deployed
pull:
git pull origin master
cd content/specs && git pull origin master