From 594122acc6ee5766c21098591a7998c76ff80bf2 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Fri, 17 May 2024 22:48:20 -0400 Subject: nix flake and envrc-nix minor --- .envrc-nix | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to '.envrc-nix') diff --git a/.envrc-nix b/.envrc-nix index 38d9091..5100500 100644 --- a/.envrc-nix +++ b/.envrc-nix @@ -35,7 +35,7 @@ echo ' ❯❯ nix build --print-build-logs ❯❯ nix build ".#" --print-build-logs -- to build project (for build dependencies select appropriate dev env & build): +- to build project: ❯❯ nix build ".#spine-nixpkgs-dmd" --print-build-logs ❯❯ nix build ".#spine-overlay-dmd" --print-build-logs ❯❯ nix build ".#spine-nixpkgs-ldc" --print-build-logs @@ -49,8 +49,19 @@ echo ' ❯❯ nix develop ".#dsh-nixpkgs-ldc-dub" --print-build-logs -c zsh ❯❯ dub --verbose --compiler=ldmd2 --config=ldmd2 - - for develop environment & build options +- for develop environment & build options ❯❯ nix flake update && nix flake check && nix flake show ❯❯ nix flake show + +- if on nix: build the sisudoc-spine using nix build commands above and + run the result against the sample files here in the sisudoc-spine-samples dir + (assuming the appropriate paths have been set in your .envrc-local) + + ❯❯ ${SpineBIN} -v --source --pod --epub --html --html-link-curate --html-link-markup --curate --output=${SpineOUT} ${SpinePOD}/* + ❯❯ ${SpineBIN} -v --source --pod --latex --latex-init --epub --html --html-link-pdf --html-link-curate --html-link-markup --curate --output=${SpineOUT} ${SpinePOD}/* ' +echo "- + ❯❯ ${SpineBIN} -v --source --pod --epub --html --html-link-curate --html-link-markup --curate --output=${SpineOUT} ${SpinePOD}/* + ❯❯ ${SpineBIN} -v --source --pod --latex --latex-init --epub --html --html-link-pdf --html-link-curate --html-link-markup --curate --output=${SpineOUT} ${SpinePOD}/* +" -- cgit v1.2.3