Browse Source

update make_check for qa tutorial

master
Olivier Courtin 1 month ago
parent
commit
273ae749d3
1 changed files with 9 additions and 3 deletions
  1. +9
    -3
      Makefile

+ 9
- 3
Makefile View File

@@ -145,13 +145,19 @@ check_doc:


# Check neo commands embeded in Tutorials
check_tuto: check_101
check_tuto: check_101 check_qa

check_101:
@echo "==================================================================================="
@echo "Checking 101"
@mkdir -p tuto && cd tuto && mkdir -p 101 && sed -n -e '/```bash/,/```/ p' ../docs/101.md | sed -e '/```/d' > 101/.CHECK && cd 101 && sh .CHECK && cd ..
@cd tuto/101 && tar cf 101.tar train/images train/labels predict/masks predict/compare predict/compare_side
@mkdir -p tuto && cd tuto && mkdir 101 && sed -n -e '/```bash/,/```/ p' ../docs/101.md | sed -e '/```/d' > 101/.CHECK && cd 101 && sh .CHECK && cd ../..
@cd tuto/101 && tar cf 101.tar train/images train/labels predict/masks predict/compare predict/compare_side && cd ..

check_qa:
@echo "==================================================================================="
@echo "Checking QA"
@mkdir -p tuto && cd tuto && mkdir qa && sed -n -e '/```bash/,/```/ p' ../docs/qa.md | sed -e '/```/d' > qa/.CHECK && cd qa && sh .CHECK && cd ../..






Loading…
Cancel
Save