fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1include ../tools.mk 2 3# Test that rustdoc will properly load in a theme file and display it in the theme selector. 4 5OUTPUT_DIR := "$(TMPDIR)/rustdoc-themes" 6 7all: 8 awk '/Begin theme: light/ {in_theme=1;next} /End theme:/ {in_theme=0} { if (in_theme) print }' \ 9 < '$(S)/src/librustdoc/html/static/css/noscript.css' > '$(TMPDIR)/test.css' 10 $(RUSTDOC) -o $(OUTPUT_DIR) foo.rs --theme $(TMPDIR)/test.css 11 $(HTMLDOCCK) $(OUTPUT_DIR) foo.rs