File: serve

package info (click to toggle)
libcudacxx 1.8.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 66,464 kB
  • sloc: cpp: 517,767; ansic: 9,474; python: 6,108; sh: 2,225; asm: 2,154; makefile: 7
file content (9 lines) | stat: -rwxr-xr-x 238 bytes parent folder | download
1
2
3
4
5
6
7
8
9
#!/usr/bin/env sh

set -ex

(
    cd docs
    docker build -f Dockerfile -t libcudacxx:docs .
    docker run --rm -p 4000:4000 -v $(pwd):/srv/jekyll -u $(id -u):$(id -g) -it libcudacxx:docs bash -c "jekyll serve --watch --host 0.0.0.0"
)