From ae8d8d837b3e5e452f57f39fb08310a21daa40ee Mon Sep 17 00:00:00 2001 From: Romulus21 Date: Sun, 20 Oct 2024 13:43:16 +0200 Subject: [PATCH] t --- Cargo.toml | 5 +++++ Makefile | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index c51b9bb..0dd737c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -118,3 +118,8 @@ lib-features = ["hydrate"] # # Optional. Defaults to false. lib-default-features = false + +#bin-target-triple = "aarch64-unknown-linux-gnu" + +tailwind-input-file = "input.css" +tailwind-config-file = "tailwind.config.js" diff --git a/Makefile b/Makefile index bc67393..3ff6575 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ deploy: npx tailwindcss -i ./input.css -o ./style/output.css --minify - cargo run --no-default-features --features=ssr + cargo build --release --target=aarch64-unknown-linux-gnu -vv scp target/release/rust_leptos raspiwork:/var/www/rust_leptos/ scp -r target/site raspiwork:/var/www/rust_leptos/site/