File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change 11all : output/lab-handout.html output/lab-material.zip output/MN.html
22
3+ topo : topology.py
4+ mn --custom topology.py --topo LabTopology --controller none --mac --arp --switch lxbr --link tc
5+
6+ clean :
7+ mn -c
8+
39output/lab-handout.html : .resources/metadata.md README.md .resources/pandoc.css
410 mkdir -p output
5- cat .resources/metadata.md README.md | pandoc -s -f markdown+task_lists -t html5 --css .resources/pandoc.css --lua-filter=.resources/enable-checkbox.lua --embed-resources -o output/lab-handout.html
11+ docker run -ti --rm -v " ` pwd ` " :/workspace/ scc-registry.lancs.ac.uk/teaching/pandoc_base:latest sh -c " cd /workspace; cat .resources/metadata.md README.md | pandoc -s -f markdown+task_lists -t html5 --css .resources/pandoc.css --lua-filter=.resources/enable-checkbox.lua --embed-resources -o output/lab-handout.html"
612
713output/MN.html : .resources/metadata.md MN.md .resources/pandoc.css
814 mkdir -p output
9- cat .resources/metadata.md MN.md | pandoc -s -f markdown+task_lists -t html5 --css .resources/pandoc.css --lua-filter=.resources/enable-checkbox.lua --embed-resources -o output/MN.html
15+ docker run -ti --rm -v " ` pwd ` " :/workspace/ scc-registry.lancs.ac.uk/teaching/pandoc_base:latest sh -c " cd /workspace; cat .resources/metadata.md MN.md | pandoc -s -f markdown+task_lists -t html5 --css .resources/pandoc.css --lua-filter=.resources/enable-checkbox.lua --embed-resources -o output/MN.html"
1016
1117output/lab-material.zip : topology.py server.py solution/Makefile .devcontainer.json
1218 mkdir -p output
1319 zip -j output/lab-material.zip topology.py server.py solution/Makefile .devcontainer.json
1420
1521clean :
1622 rm -f output/* .html
17- rmdir -p output 2> /dev/null || true
23+ rmdir -p output 2> /dev/null || true
You can’t perform that action at this time.
0 commit comments