aboutsummaryrefslogtreecommitdiffhomepage
path: root/.env
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2022-06-01 21:47:14 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2022-06-14 19:58:00 -0400
commit4808d0fa49816390772c3a2f2560dafde73dde2d (patch)
treef21fb14e2b6eac372796038934a93ec00f5fe08f /.env
parenthtml links to output, flags for a bit finer control (diff)
build related, mostly nix flakes
Diffstat (limited to '.env')
-rw-r--r--.env/local_12
1 files changed, 11 insertions, 1 deletions
diff --git a/.env/local_ b/.env/local_
index 966c673..f3036c9 100644
--- a/.env/local_
+++ b/.env/local_
@@ -1,19 +1,29 @@
export NIX_PATH=/nix/var/nix/profiles/per-user/root/channels/nixos
#export NIX_PATH=/nixpkgs-ra/nixpkgs
+export DFLAGS="-O2 -inline"
# reload when these files change
# watch_file flake.nix
# watch_file flake.lock
## load the flake devShell
# eval "$(nix print-dev-env)"
# echo $NIX_BUILD_TOP
+export Date=`date "+%Y%m%d"`
export SpineVER=$(git describe --long --tags | sed 's/^[ a-z_-]\+\([0-9.]\+\)/\1/;s/\([^-]*-g\)/r\1/;s/-/./g')
-export SpineSRC=/grotto-ra/repo/git.repo/projects/project-spine/doc-reform
+export SpinePROJ=/grotto-ra/repo/git.repo/projects/project-spine/doc-reform
+export SpineSRC=/grotto-ra/repo/git.repo/projects/project-spine/doc-reform/src
export SpineBIN=/grotto-ra/repo/git.repo/projects/project-spine/doc-reform/result/bin
export SpineDOC=/grotto-ra/repo/git.repo/projects/project-spine/doc-reform-markup/spine-markup-samples
export SpinePOD=$SpineDOC/markup/pod
export SpineOUTversioned=/srv/www/spine/$SpineVER
export SpineOUT=/srv/www/spine
export SpineDBpath=/var/www/sqlite
+export SpineSearchActionLocal='http://localhost/spine_search'
+export SpineSearchActionRemote='https://sisudoc.org/spine_search'
+export SpineCGIform='spine_search'
+export SpineSQLdb='spine.search.db'
+export PROG_VER_GIT="`git describe --long --tags | sed -e 's/^[ a-z_-]\+\([0-9.]\+\)/\1/;s/\([^-]*-g\)/r\1/;s/-/./g'`"
+export PROG_VER_DECLARED="`cat ./views/version.txt | grep --color=never "enum" | sed 's/.\+(\([0-9]\+\),[ \t]\+\([0-9]\+\),[ \t]\+\([0-9]\+\)[ \t]*).\+/\1.\2.\3/g'`"
+
if [ -e .env/echo-nixNote ]; then
source .env/echo-nixNote
fi