From 74b7b5d71108a5ec55958251f0b954df9ace115e Mon Sep 17 00:00:00 2001 From: jude Date: Sat, 24 Feb 2024 17:56:27 +0000 Subject: [PATCH] Remove glob patterns from static file includes --- Cargo.toml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 964682c..8f7006b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -47,12 +47,17 @@ suggests = "mysql-server-8.0, nginx" maintainer-scripts = "debian" assets = [ ["target/release/reminder-rs", "usr/bin/reminder-rs", "755"], + ["web/static/css/*", "lib/reminder-rs/static/css", "644"], + ["web/static/favicon/*", "lib/reminder-rs/static/favicon", "644"], + ["web/static/img/*", "lib/reminder-rs/static/img", "644"], + ["web/static/js/*", "lib/reminder-rs/static/js", "644"], + ["web/static/webfonts/*", "lib/reminder-rs/static/webfonts", "644"], + ["web/static/site.webmanifest", "lib/reminder-rs/static/site.webmanifest", "644"], + ["web/templates/**/*", "lib/reminder-rs/templates", "644"], + ["reminder-dashboard/dist/static/assets", "lib/reminder-rs/static/assets", "644"], + ["reminder-dashboard/dist/index.html", "lib/reminder-rs/static/index.html", "644"], ["conf/default.env", "etc/reminder-rs/config.env", "600"], ["conf/Rocket.toml", "etc/reminder-rs/Rocket.toml", "600"], - ["web/static/**/*", "lib/reminder-rs/static", "644"], - ["reminder-dashboard/dist/static/**/*", "lib/reminder-rs/static", "644"], - ["reminder-dashboard/dist/index.html", "lib/reminder-rs/static/index.html", "644"], - ["web/templates/**/*", "lib/reminder-rs/templates", "644"], ["healthcheck", "lib/reminder-rs/healthcheck", "755"], ["cron.d/reminder_health", "etc/cron.d/reminder_health", "644"], # ["nginx/reminder-rs", "etc/nginx/sites-available/reminder-rs", "755"]