@@ -10,15 +10,15 @@ echo "DON'T PUSH ANY OF THESE CHANGES TO THE REPO!!!!!!!!"
1010echo " if you push these changes, I'll slap your butt"
1111
1212# remove some files not suitable for PDF:
13- rm ../library/data_structures_\ [ l,r\ ) /bit_uncommon/rupq.hpp || exit 1
14- rm ../library/data_structures_\ [ l,r\ ) /bit_uncommon/rurq.hpp || exit 1
15- rm ../library/data_structures_\ [ l,r\ ) /uncommon/seg_tree.png || exit 1
16- rm ../library/data_structures_\ [ l,r\ ) /seg_tree_uncommon/distinct_query.hpp || exit 1
17- rm ../library/data_structures_\ [ l,r\ ) /seg_tree_uncommon/implicit.hpp || exit 1
18- rm ../library/data_structures_\ [ l,r\ ) /seg_tree_uncommon/kth_smallest_query.hpp || exit 1
19- rm ../library/data_structures_\ [ l,r\ ) /uncommon/mode_query.hpp || exit 1
20- rm ../library/data_structures_\ [ l,r\ ) /uncommon/priority_queue_of_updates.hpp || exit 1
21- rm ../library/data_structures_\ [ l,r\ ) /uncommon/deque_op.hpp || exit 1
13+ rm " ../library/data_structures_[l,r)/bit_uncommon/rupq.hpp" || exit 1
14+ rm " ../library/data_structures_[l,r)/bit_uncommon/rurq.hpp" || exit 1
15+ rm " ../library/data_structures_[l,r)/uncommon/seg_tree.png" || exit 1
16+ rm " ../library/data_structures_[l,r)/seg_tree_uncommon/distinct_query.hpp" || exit 1
17+ rm " ../library/data_structures_[l,r)/seg_tree_uncommon/implicit.hpp" || exit 1
18+ rm " ../library/data_structures_[l,r)/seg_tree_uncommon/kth_smallest_query.hpp" || exit 1
19+ rm " ../library/data_structures_[l,r)/uncommon/mode_query.hpp" || exit 1
20+ rm " ../library/data_structures_[l,r)/uncommon/priority_queue_of_updates.hpp" || exit 1
21+ rm " ../library/data_structures_[l,r)/uncommon/deque_op.hpp" || exit 1
2222rm ../library/graphs/strongly_connected_components/add_edges_strongly_connected.hpp || exit 1
2323rm ../library/graphs/strongly_connected_components/offline_incremental_scc.hpp || exit 1
2424rm ../library/graphs/uncommon/bridges.hpp || exit 1
@@ -58,7 +58,10 @@ cat ../library/**/*.hpp |
5858echo " check no multiline comments. Generating hashes of file-prefixes requires this."
5959grep --extended-regexp " \/\*" --recursive ../library/** /* .hpp && exit 1
6060
61- make compile_commented_snippets || exit 1
61+ find ../library/ -path " ../library/data_structures_\[l,r\]" -prune -o -type f -name " *.hpp" -print | ./scripts/compile_commented_snippets.sh || exit 1
62+ rm entire_library_without_main || exit 1
63+ rm entire_library.cpp || exit 1
64+ find " ../library/data_structures_[l,r]" -type f -name " *.hpp" | ./scripts/compile_commented_snippets.sh || exit 1
6265
6366# remove #pragma once
6467sed --in-place ' /^#pragma once$/d' ../library/** /* .hpp
0 commit comments