From 32d068065e1194d3f359b43e31d83bca434ac14c Mon Sep 17 00:00:00 2001 From: Manuel Cillero Date: Fri, 23 Jun 2023 12:30:56 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=BD=EF=B8=8F=20Incorpora=20nueva=20cre?= =?UTF-8?q?aci=C3=B3n=20de=20recursos=20est=C3=A1ticos?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pagetop-aliner/build.rs | 6 +++++- pagetop-bootsier/build.rs | 6 +++++- pagetop-bulmix/build.rs | 6 +++++- pagetop-homedemo/build.rs | 6 +++++- pagetop-jquery/build.rs | 6 +++++- pagetop-megamenu/build.rs | 6 +++++- pagetop-minimal/build.rs | 6 +++++- pagetop/build.rs | 6 +++++- 8 files changed, 40 insertions(+), 8 deletions(-) diff --git a/pagetop-aliner/build.rs b/pagetop-aliner/build.rs index ba1cd204..2f0500aa 100644 --- a/pagetop-aliner/build.rs +++ b/pagetop-aliner/build.rs @@ -1,3 +1,7 @@ +use pagetop_build::StaticFilesBundle; + fn main() -> std::io::Result<()> { - pagetop_build::bundle_resources("./static", "aliner", None) + StaticFilesBundle::from_dir("./static") + .with_name("aliner") + .build() } diff --git a/pagetop-bootsier/build.rs b/pagetop-bootsier/build.rs index 43a25bd1..05b11b3c 100644 --- a/pagetop-bootsier/build.rs +++ b/pagetop-bootsier/build.rs @@ -1,3 +1,7 @@ +use pagetop_build::StaticFilesBundle; + fn main() -> std::io::Result<()> { - pagetop_build::bundle_resources("./static", "bootsier", None) + StaticFilesBundle::from_dir("./static") + .with_name("bootsier") + .build() } diff --git a/pagetop-bulmix/build.rs b/pagetop-bulmix/build.rs index 60a4c39f..85811cac 100644 --- a/pagetop-bulmix/build.rs +++ b/pagetop-bulmix/build.rs @@ -1,3 +1,7 @@ +use pagetop_build::StaticFilesBundle; + fn main() -> std::io::Result<()> { - pagetop_build::bundle_resources("./static", "bulmix", None) + StaticFilesBundle::from_dir("./static") + .with_name("bulmix") + .build() } diff --git a/pagetop-homedemo/build.rs b/pagetop-homedemo/build.rs index c0c4e274..caa0fdf2 100644 --- a/pagetop-homedemo/build.rs +++ b/pagetop-homedemo/build.rs @@ -1,3 +1,7 @@ +use pagetop_build::StaticFilesBundle; + fn main() -> std::io::Result<()> { - pagetop_build::bundle_resources("./static", "homedemo", None) + StaticFilesBundle::from_dir("./static") + .with_name("homedemo") + .build() } diff --git a/pagetop-jquery/build.rs b/pagetop-jquery/build.rs index 7ebea757..0acb6bed 100644 --- a/pagetop-jquery/build.rs +++ b/pagetop-jquery/build.rs @@ -1,3 +1,7 @@ +use pagetop_build::StaticFilesBundle; + fn main() -> std::io::Result<()> { - pagetop_build::bundle_resources("./static", "jquery", None) + StaticFilesBundle::from_dir("./static") + .with_name("jquery") + .build() } diff --git a/pagetop-megamenu/build.rs b/pagetop-megamenu/build.rs index e981103b..4349cf15 100644 --- a/pagetop-megamenu/build.rs +++ b/pagetop-megamenu/build.rs @@ -1,3 +1,7 @@ +use pagetop_build::StaticFilesBundle; + fn main() -> std::io::Result<()> { - pagetop_build::bundle_resources("./static", "megamenu", None) + StaticFilesBundle::from_dir("./static") + .with_name("megamenu") + .build() } diff --git a/pagetop-minimal/build.rs b/pagetop-minimal/build.rs index 4e3488af..cd0bc2b5 100644 --- a/pagetop-minimal/build.rs +++ b/pagetop-minimal/build.rs @@ -1,3 +1,7 @@ +use pagetop_build::StaticFilesBundle; + fn main() -> std::io::Result<()> { - pagetop_build::bundle_resources("./static", "minimal", None) + StaticFilesBundle::from_dir("./static") + .with_name("minimal") + .build() } diff --git a/pagetop/build.rs b/pagetop/build.rs index b3903037..3e2d9749 100644 --- a/pagetop/build.rs +++ b/pagetop/build.rs @@ -1,3 +1,7 @@ +use pagetop_build::StaticFilesBundle; + fn main() -> std::io::Result<()> { - pagetop_build::bundle_resources("./static/theme", "theme", None) + StaticFilesBundle::from_dir("./static/theme") + .with_name("theme") + .build() }