aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Cargo.lock6
-rw-r--r--Cargo.toml4
-rw-r--r--Makefile2
-rw-r--r--src/file_finder.rs2
4 files changed, 7 insertions, 7 deletions
diff --git a/Cargo.lock b/Cargo.lock
index ba28a7b..1ad3f27 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -4,13 +4,13 @@ version = 4
[[package]]
name = "gema_texto"
-version = "1.0.3"
+version = "1.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ff101c368b563c1aace5a5f18255a52fcd150b6e97fadd5dd970b6f912f66571"
+checksum = "094db3bc41a6f5715023b69e0f39615de003f58c8cdd263c737478edcd90d539"
[[package]]
name = "page"
-version = "2.0.0"
+version = "2.1.0"
dependencies = [
"gema_texto",
"test_utilities",
diff --git a/Cargo.toml b/Cargo.toml
index 0cb0796..90d5479 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "page"
-version = "2.0.0"
+version = "2.1.0"
edition = "2024"
license = "AGPL-3.0-or-later"
description = "Command line tool to generate a static website and gemini capsule from a directory with gemtext."
@@ -8,7 +8,7 @@ homepage = "https://r.bdr.sh/page.html"
authors = ["Rubén Beltrán del Río <page@r.bdr.sh>"]
[dependencies]
-gema_texto = "1.0.3"
+gema_texto = "1.1.1"
[dev-dependencies]
test_utilities = { path = "test_utilities" }
diff --git a/Makefile b/Makefile
index bcfa02a..d4cc89c 100644
--- a/Makefile
+++ b/Makefile
@@ -23,7 +23,7 @@ build: prepare
cargo build --profile $(profile) --target $(target)
test:
- cargo test
+ cargo nextest run
coverage:
cargo tarpaulin
diff --git a/src/file_finder.rs b/src/file_finder.rs
index 08e86c4..9a2db1b 100644
--- a/src/file_finder.rs
+++ b/src/file_finder.rs
@@ -13,7 +13,7 @@ fn find_files_recursively(root_path: &PathBuf, directory_path: &PathBuf) -> Vec<
for entry in entries.flatten() {
let path = entry.path();
if let Ok(relative_path) = path.strip_prefix(root_path) {
- if relative_path.starts_with(".git") || relative_path.starts_with(".gitignore") {
+ if relative_path.starts_with(".git") || relative_path.starts_with(".gitignore") || relative_path.starts_with(".jj") {
continue;
}
if path.is_dir() {