Skip to content

Commit 080f66a

Browse files
committed
fail on path not found here
1 parent 941fa15 commit 080f66a

File tree

1 file changed

+28
-22
lines changed

1 file changed

+28
-22
lines changed

tests/scripts/ptc.sh

Lines changed: 28 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -10,28 +10,34 @@ echo "DON'T PUSH ANY OF THESE CHANGES TO THE REPO!!!!!!!!"
1010
echo "if you push these changes, I'll slap your butt"
1111

1212
# remove some files not suitable for PDF:
13-
rm ../library/data_structures/bit_uncommon/rupq.hpp
14-
rm ../library/data_structures/bit_uncommon/rurq.hpp
15-
rm ../library/data_structures/seg_tree.png
16-
rm ../library/data_structures/seg_tree_uncommon/distinct_query.hpp
17-
rm ../library/data_structures/seg_tree_uncommon/implicit.hpp
18-
rm ../library/data_structures/seg_tree_uncommon/kth_smallest_query.hpp
19-
rm ../library/data_structures/uncommon/mode_query.hpp
20-
rm ../library/data_structures/uncommon/priority_queue_of_updates.hpp
21-
rm ../library/graphs/strongly_connected_components/add_edges_strongly_connected.hpp
22-
rm ../library/graphs/functional_graph_processor.hpp
23-
rm ../library/math/derangements.hpp
24-
rm ../library/math/num_distinct_subsequences.hpp
25-
rm ../library/math/partitions.hpp
26-
rm ../library/monotonic_stack/cartesian_k_ary_tree.hpp
27-
rm ../library/monotonic_stack/max_rect_histogram.hpp
28-
rm ../library/monotonic_stack/cartesian_binary_tree_after.png
29-
rm ../library/monotonic_stack/mono_stack_ri.png
30-
rm ../library/strings/manacher/longest_palindrome_query.hpp
31-
rm -rf ../library/trees/centroid_decomp_uncommon/
32-
rm -rf ../library/trees/edge_centroid_decomp_uncommon/
33-
rm -rf ../library/trees/ladder_decomposition/ladder_decomposition.hpp
34-
rm ../library/trees/linear_kth_path.hpp
13+
rm ../library/data_structures/bit_uncommon/rupq.hpp || exit 1
14+
rm ../library/data_structures/bit_uncommon/rurq.hpp || exit 1
15+
rm ../library/data_structures/seg_tree.png || exit 1
16+
rm ../library/data_structures/seg_tree_uncommon/distinct_query.hpp || exit 1
17+
rm ../library/data_structures/seg_tree_uncommon/implicit.hpp || exit 1
18+
rm ../library/data_structures/seg_tree_uncommon/kth_smallest_query.hpp || exit 1
19+
rm ../library/data_structures/uncommon/mode_query.hpp || exit 1
20+
rm ../library/data_structures/uncommon/priority_queue_of_updates.hpp || exit 1
21+
rm ../library/graphs/strongly_connected_components/add_edges_strongly_connected.hpp || exit 1
22+
rm ../library/graphs/functional_graph_processor.hpp || exit 1
23+
rm ../library/math/derangements.hpp || exit 1
24+
rm ../library/math/num_distinct_subsequences.hpp || exit 1
25+
rm ../library/math/partitions.hpp || exit 1
26+
rm ../library/monotonic_stack/cartesian_k_ary_tree.hpp || exit 1
27+
rm ../library/monotonic_stack/max_rect_histogram.hpp || exit 1
28+
rm ../library/monotonic_stack/cartesian_binary_tree_after.png || exit 1
29+
rm ../library/monotonic_stack/mono_stack_ri.png || exit 1
30+
rm ../library/strings/manacher/longest_palindrome_query.hpp || exit 1
31+
rm ../library/trees/centroid_decomp_uncommon/count_paths_per_length.hpp || exit 1
32+
rm ../library/trees/centroid_decomp_uncommon/count_paths_per_node.hpp || exit 1
33+
rm ../library/trees/centroid_decomp_uncommon/lca.hpp || exit 1
34+
rm ../library/trees/edge_centroid_decomp_uncommon/README.md || exit 1
35+
rm ../library/trees/edge_centroid_decomp_uncommon/contour_range_query.hpp || exit 1
36+
rm ../library/trees/edge_centroid_decomp_uncommon/contour_range_update.hpp || exit 1
37+
rm ../library/trees/edge_centroid_decomp_uncommon/count_paths_per_length.hpp || exit 1
38+
rm ../library/trees/edge_centroid_decomp_uncommon/sum_adjacent.hpp || exit 1
39+
rm ../library/trees/ladder_decomposition/ladder_decomposition.hpp || exit 1
40+
rm ../library/trees/linear_kth_path.hpp || exit 1
3541

3642
# remove links in comments: these aren't useful in the PDF, and are usually the
3743
# longest words which extend into the next column

0 commit comments

Comments
 (0)