aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/config_env.org
diff options
context:
space:
mode:
Diffstat (limited to 'org/config_env.org')
-rw-r--r--org/config_env.org42
1 files changed, 13 insertions, 29 deletions
diff --git a/org/config_env.org b/org/config_env.org
index 112830b..c534640 100644
--- a/org/config_env.org
+++ b/org/config_env.org
@@ -91,7 +91,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
@@ -105,11 +105,22 @@ 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}/*
+"
#+END_SRC
*** 3.0.4
@@ -211,30 +222,3 @@ export SpineCGIbin=/var/www/cgi/cgi-bin
export SpineDBpath=/var/www/sqlite
#export SpineDBpath=/srv/www/spine/sqlite
#+END_SRC
-
-#+HEADER: :tangle-NO ../.envrc-local
-#+HEADER: :noweb yes
-#+BEGIN_SRC sh
-if [[ ! -d ./.git ]]; then
- git init
- git add .
-fi
-echo '
- .envrc-local echo ❯❯
-
- ❯❯ nix flake update && nix flake check --show-trace && nix flake show && nix develop ".#devShell" -c $SHELL
-
- ❯❯ nix develop
- ❯❯ nix develop -c $SHELL
- ❯❯ nix develop ".#dsh-overlay-ldc" --print-build-logs
-
- ❯❯ nix build
- ❯❯ nix build ".#default" --print-build-logs
-'
-#+END_SRC
-
-#+BEGIN_SRC sh
-#export NIX_PATH=/nix/var/nix/profiles/per-user/root/channels/nixos
-#export NIX_PATH=/srv/nix/nixpkgs
-#export NIX_PATH=nixpkgs=/srv/nix/nixpkgs
-#+END_SRC