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.

Makefile 976B

5 년 전
5 년 전
5 년 전
5 년 전
5 년 전
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. .SILENT:
  2. .PHONY: \
  3. docs docs-server docs-watch docs-sync-server nix-ci linux-ci macos-ci \
  4. vagrant-freebsd-ci
  5. _invalid:
  6. echo "Specify a target name to execute"
  7. exit 1
  8. docs:
  9. sphinx-build -b html \
  10. docs \
  11. _build/docs \
  12. -d _build/doctrees \
  13. -Wqanj8
  14. echo "Docs generated to _build/docs"
  15. docs-server: docs
  16. echo "Docs are visible on http://localhost:9794/"
  17. cd _build/docs && \
  18. python -m http.server 9794
  19. docs-watch: docs
  20. +sh tools/docs-watch.sh
  21. docs-sync-server:
  22. mkdir -p _build/docs
  23. cd _build/docs && \
  24. browser-sync start --server \
  25. --reload-delay 300 \
  26. --watch **/*.html
  27. macos-ci: nix-ci
  28. linux-ci: nix-ci
  29. nix-ci:
  30. python3 -u tools/ci.py \
  31. -B download \
  32. -T tools/gcc-9.jsonc
  33. vagrant-freebsd-ci:
  34. vagrant up freebsd11
  35. vagrant rsync
  36. vagrant ssh freebsd11 -c '\
  37. cd /vagrant && \
  38. python3.7 tools/ci.py \
  39. -B download \
  40. -T tools/freebsd-gcc-9.jsonc \
  41. '
  42. vagrant scp freebsd11:/vagrant/_build/dds _build/dds-freebsd-x64
  43. vagrant halt