forked from LLNL/llnl.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
21 lines (16 loc) · 793 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
rebuild_jekyll:
git commit --allow-empty -m"Trigger Jekyll rebuild"
git push
clean:
rm -rf _site/
build:
bundle exec jekyll build
bundle exec mdl ./ # --style markdown_style.rb
bundle exec htmlproofer ./_site --check_html --check_img_http --disable_external --url-ignore "{{ repo.url }},{{ repo.url }}/network,{{ repo.url }}/stargazers,{{ licenseInfo.url }},{{ repo.homepageUrl }},rosecompiler.org"
# bundle exec htmlproofer ./_site --enforce_https --check_html --check_img_http --disable_external --url-ignore "{{ repo.url }},{{ repo.url }}/network,{{ repo.url }}/stargazers,{{ licenseInfo.url }},{{ repo.homepageUrl }},rosecompiler.org"
deploy: clean build
chmod -R ugo+rX _site/
rsync -avz --delete _site/ typhon:/export/www/software-pre/html/
test:
flake8
black --check .