File tree Expand file tree Collapse file tree 2 files changed +20
-11
lines changed
Expand file tree Collapse file tree 2 files changed +20
-11
lines changed Original file line number Diff line number Diff line change 7474 run : |
7575 script/links || true
7676 echo 'checking reported links...'
77- cat htmlproofer.out | wc -l
77+ echo "htmlproofer spit out a report of length: $( cat htmlproofer.out | wc -l)"
7878 bb script/analyze_links.clj --htmlproofer-output htmlproofer.out
7979 exit 1
8080
Original file line number Diff line number Diff line change 126126 _ (println (count external-or-missing-links) " reported links without redirects." )
127127 _ (println " Checking if the missing links are live on https://metabase.com ..." )
128128 out (check-broken-links external-or-missing-links)]
129- (prn [" htmlproofer links:" ]
130- (doseq [l (sort (set htmlproofer-links))]
131- (println " " l)))
132- (prn [" redirects:" ]
133- (doseq [l (sort (set redirects))]
134- (println " " l)))
135- (prn [" external-or-missing-links:" ]
136- (doseq [l (sort (set external-or-missing-links))]
137- (println " " l)))
138-
129+ (println " >>>>>>>>>> htmlproofer links <<<<<<<<<" )
130+ (doseq [l (sort (set htmlproofer-links))]
131+ (println " " l))
132+ (println " \n\n\n " )
133+ (println " >>>>>>>>>> redirects <<<<<<<<<" )
134+ (doseq [l (sort (set redirects))]
135+ (println " " l))
136+ (println " \n\n\n " )
137+ (println " >>>>>>>>>> external-or-missing-links <<<<<<<<<" )
138+ (doseq [l (sort (set external-or-missing-links))]
139+ (println " " l))
140+
141+ (println " \n\n\n " )
139142 (if (zero? (:broken-count out))
140143 (do
141144 (println " Done. OK." )
147150(when (= *file* (System/getProperty " babashka.file" ))
148151 (apply -main *command-line-args*))
149152
153+
154+ (comment
155+
156+
157+ )
158+
150159(comment
151160
152161 (def opts {:htmlproofer-output " htmlproofer.out" })
You can’t perform that action at this time.
0 commit comments