6 Commits
Author SHA1 Message Date
Lukas Stancik 76919dc1f4 Update domain 2026-06-27 22:03:54 +02:00
Lukas Stancik 0f1ea00800 Add build target for arm64 architecture
In order to work on Raspberry Pi 4
2026-06-21 14:17:10 +00:00
lusk 5ab8fe2ccd Update Cargo.toml 2026-05-28 21:52:53 +02:00
lusk 68b4780181 Update Makefile 2026-05-28 21:52:12 +02:00
lusk 7170a9853a Update Cargo.toml
Bump minor version
2026-05-28 21:32:55 +02:00
lusk 5a21dd3a16 Update Cargo.toml
Rename to match repository
2026-05-28 21:32:18 +02:00
2 changed files with 14 additions and 8 deletions
+4 -4
View File
@@ -1,10 +1,10 @@
[package]
name = "md_to_html"
version = "0.0.1"
name = "md-to-html"
version = "0.0.3"
edition = "2021"
repository = "https://git.stancik.work/lusk/md-to-html"
repository = "https://git.stancik.cz/lusk/md-to-html"
description = "Markdown to HTML converter"
authors = ["Sokhibjon Orzikulov <orzklv.uz>", "Lukas Stancik <lukas.stancik.work>"]
authors = ["Sokhibjon Orzikulov <orzklv.uz>", "Lukas Stancik <lukas.stancik.cz>"]
readme = "README.md"
license = "GPL-3.0"
+10 -4
View File
@@ -8,7 +8,7 @@ clean:
rm -f Cargo.lock
init:
-git clone https://git.stancik.work/lusk/markdown-rs.git
-git clone https://git.stancik.cz/lusk/markdown-rs.git
release/build: init
docker run --rm -it \
@@ -16,6 +16,12 @@ release/build: init
-v "${PWD}/markdown-rs":/home/rust/markdown-rs \
messense/rust-musl-cross:x86_64-musl /bin/sh -c "cargo build --release && chown -R ${SELF_UID}:${SELF_GID} target"
release/arm64: init
docker run --rm -it \
-v "${PWD}":/home/rust/src \
-v "${PWD}/markdown-rs":/home/rust/markdown-rs \
messense/rust-musl-cross:aarch64-musl /bin/sh -c "cargo build --release && chown -R ${SELF_UID}:${SELF_GID} target"
debug/build: init
@docker run --rm -it \
-v "${PWD}":/home/rust/src \
@@ -23,11 +29,11 @@ debug/build: init
messense/rust-musl-cross:x86_64-musl /bin/sh -c "cargo build && chown -R ${SELF_UID}:${SELF_GID} target"
release/install: release/build
@cp target/x86_64-unknown-linux-musl/release/md_to_html ~/.local/bin/md_to_html
@cp target/x86_64-unknown-linux-musl/release/md-to-html ~/.local/bin/md-to-html
debug/install: debug/build
@cp target/x86_64-unknown-linux-musl/debug/md_to_html ~/.local/bin/md_to_html
@cp target/x86_64-unknown-linux-musl/debug/md-to-html ~/.local/bin/md-to-html
run:
@RUST_LOG=debug md_to_html convert --file test/page.md --to /tmp/test-output.html
@RUST_LOG=debug md-to-html convert --file test/page.md --to /tmp/test-output.html
@bat /tmp/test-output.html