From 1a53ef8ba1fbc85cfdd94fca417e75d0f9cf0781 Mon Sep 17 00:00:00 2001 From: JP Hastings-Spital Date: Mon, 10 Jun 2024 22:46:15 +0100 Subject: [PATCH] Make find command work in Linux --- Taskfile.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Taskfile.yml b/Taskfile.yml index 6e893043..363da0bd 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -52,7 +52,7 @@ tasks: # Gemini has no Javascript (no client-side interactivity at all), so search is useless - rm -rf ./public/search # Remove www-specific files - - find -E ./public -regex '.*\.(html|js|css|css\.map|webmanifest|xml|xsl|ico|opml)' -type f -delete + - find ./public -regex '.*\.(html|js|css|css\.map|webmanifest|xml|xsl|ico|opml)' -type f -delete # Remove specific unneeded files - rm -rf ./public/favicon*.png ./public/_redirects ./public/{apple,android,mstile}*.png ./public/safari-pinned-tab.svg ./public/robots.txt # Remove specific unneeded directories