aboutsummaryrefslogtreecommitdiffhomepage
path: root/.envrc-nix
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2024-05-17 22:48:20 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2024-05-17 23:42:07 -0400
commit594122acc6ee5766c21098591a7998c76ff80bf2 (patch)
tree5c68cd30667fc6e8642576709795aac533bfff7b /.envrc-nix
parentnix dlang overlay ldc-1.38.0 (diff)
nix flake and envrc-nix minor
Diffstat (limited to '.envrc-nix')
-rw-r--r--.envrc-nix15
1 files changed, 13 insertions, 2 deletions
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}/*
+"