You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- .SILENT:
-
- .PHONY: \
- docs docs-server docs-watch docs-sync-server nix-ci linux-ci macos-ci \
- vagrant-freebsd-ci site
-
- _invalid:
- echo "Specify a target name to execute"
- exit 1
-
- clean:
- rm -f -r -- $(shell find -name __pycache__ -type d)
- rm -f -r -- _build/ _prebuilt/
-
- docs:
- sphinx-build -b html \
- docs \
- _build/docs \
- -d _build/doctrees \
- -Wqanj8
- echo "Docs generated to _build/docs"
-
- docs-server: docs
- echo "Docs are visible on http://localhost:9794/"
- cd _build/docs && \
- python -m http.server 9794
-
- docs-watch: docs
- +sh tools/docs-watch.sh
-
- docs-sync-server:
- mkdir -p _build/docs
- cd _build/docs && \
- browser-sync start --server \
- --reload-delay 300 \
- --watch **/*.html
-
- macos-ci:
- python3 -u tools/ci.py \
- -B download \
- -T tools/gcc-9.jsonc \
- -T2 tools/gcc-9.next.jsonc \
-
- linux-ci:
- python3 -u tools/ci.py \
- -B download \
- -T tools/gcc-9.jsonc \
- -T2 tools/gcc-9-static.jsonc
-
- nix-ci:
- python3 -u tools/ci.py \
- -B download \
- -T tools/gcc-9.jsonc
-
- vagrant-freebsd-ci:
- vagrant up freebsd11
- vagrant rsync
- vagrant ssh freebsd11 -c '\
- cd /vagrant && \
- python3.7 tools/ci.py \
- -B download \
- -T tools/freebsd-gcc-9.jsonc \
- -T2 tools/freebsd-gcc-9.next.jsonc \
- '
- vagrant scp freebsd11:/vagrant/_build/dds _build/dds-freebsd-x64
- vagrant halt
-
- site: docs
- rm -r -f -- _site/
- mkdir -p _site/
- cp site/index.html _site/
- cp -r _build/docs _site/
- echo "Site generated at _site/"
|