From e9bf66de7237790ca7e6263d3225c404d245b27e Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Thu, 4 Jul 2024 14:06:40 -0400 Subject: housekeeping, config, info --- org/config_env.org | 14 +++++++------- org/config_nix.org | 3 ++- ...fo_and_doc_header_including_copyright_and_license.org | 2 +- org/spine_info.org | 16 ++++------------ 4 files changed, 14 insertions(+), 21 deletions(-) (limited to 'org') diff --git a/org/config_env.org b/org/config_env.org index ecf4ee5..4216d00 100644 --- a/org/config_env.org +++ b/org/config_env.org @@ -72,11 +72,11 @@ PATH_add result/bin use flake . #use flake .#default echo ' -- consider running: +• consider running: ❯❯ nix flake show ❯❯ nix flake update && nix flake check && nix flake show -- for a dev shell (development environment): +• for a dev shell (development environment): ❯❯ nix develop ❯❯ nix develop ".#" --print-build-logs -c zsh @@ -89,25 +89,25 @@ echo ' ❯❯ nix develop ".#dsh-spine" --print-build-logs -c zsh ❯❯ nix develop ".#dsh-sqlite" --print-build-logs -c zsh -- to build project: +• to build project: ❯❯ nix build --print-build-logs ❯❯ nix build ".#" --print-build-logs -- to build project: +• to build project: ❯❯ nix build ".#spine-overlay-dmd" --print-build-logs ❯❯ nix build ".#spine-overlay-ldc" --print-build-logs -- to build using dub (on nix or otherwise): +• to build using dub (on nix or otherwise): you need to be in sisudoc-spine to use source code tree directly. -- 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 +• 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) diff --git a/org/config_nix.org b/org/config_nix.org index 52e16e6..f05e712 100644 --- a/org/config_nix.org +++ b/org/config_nix.org @@ -43,7 +43,8 @@ flake-utils, spine, d-overlay, - } @ inputs: let + ... + }@inputs: let version = "<>"; shell = ./shell.nix; devEnv = ./nixDevEnv.sh; diff --git a/org/sisudoc_spine_version_info_and_doc_header_including_copyright_and_license.org b/org/sisudoc_spine_version_info_and_doc_header_including_copyright_and_license.org index ed7def8..28ead23 100644 --- a/org/sisudoc_spine_version_info_and_doc_header_including_copyright_and_license.org +++ b/org/sisudoc_spine_version_info_and_doc_header_including_copyright_and_license.org @@ -98,7 +98,7 @@ #+NAME: spine_project_version_part_minor #+BEGIN_SRC org -16 +17 #+END_SRC *** patch diff --git a/org/spine_info.org b/org/spine_info.org index cc107d4..db4571a 100644 --- a/org/spine_info.org +++ b/org/spine_info.org @@ -208,9 +208,9 @@ instruction. The sources of relevant parts of the project are here: https://sisudoc.org https://git.sisudoc.org - git clone git://git.sisudoc.org/software/sisudoc-spine && \ - git clone git://git.sisudoc.org/software/sisudoc-spine-search-cgi && \ - git clone git://git.sisudoc.org/markup/sisudoc-spine-samples + git clone --depth=1 git://git.sisudoc.org/software/sisudoc-spine && \ + git clone --depth=1 git://git.sisudoc.org/software/sisudoc-spine-search-cgi && \ + git clone --depth=1 git://git.sisudoc.org/markup/sisudoc-spine-samples you may wish to clone these into a directory created for the purpose, e.g. @@ -279,14 +279,6 @@ flags and configuration options <> #+END_SRC -*** code org ./org - -#+HEADER: :tangle "../org/COPYRIGHT" -#+HEADER: :noweb yes -#+BEGIN_SRC text -<> -#+END_SRC - *** org files ./org - .org literate programming: @@ -295,7 +287,7 @@ flags and configuration options - license - dependency information -#+HEADER: :tangle "./COPYRIGHT" +#+HEADER: :tangle "../org/COPYRIGHT" #+HEADER: :noweb yes #+BEGIN_SRC text <> -- cgit v1.2.3