summaryrefslogtreecommitdiffhomepage
path: root/makefile
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2024-05-07 10:11:24 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2024-05-07 10:21:42 -0400
commit0a1a8ce68c7b27cc4e86e9fab71a99e311d9e7d0 (patch)
treeb5ec034ef6f93826be263302460c36f205537ac9 /makefile
parentarsd.core.d import (diff)
configuration a& build related
Diffstat (limited to 'makefile')
-rw-r--r--makefile10
1 files changed, 2 insertions, 8 deletions
diff --git a/makefile b/makefile
index 7589a63..b032d64 100644
--- a/makefile
+++ b/makefile
@@ -1,10 +1,4 @@
-include .envrc-local
-#SpineBIN := "${SpineBIN}" # 'result/bin'
-#SpineOUT := "${SpineOUT}" # '/srv/www/spine'
-#SpinePOD := "${SpinePOD}" # '~/grotto/repo/git.repo/projects/project-spine/doc-reform-markup/spine-markup-samples/markup/pod'
-#SpineSearchAction := 'https://sisudoc.org/spine_search'
-#SpineCGIform := 'spine_search'
-#SpineSQLdb := 'spine.search.db'
+#include .envrc-local
PROG_VER_GIT :=$(shell echo `git describe --long --tags | sed -e "s/^[ a-z_-]\+\([0-9.]\+\)/\1/;s/\([^-]*-g\)/r\1/;s/-/./g"`)
PROG_VER_DECLARED :=$(shell echo `cat ./views/version.txt | grep --color=never "enum" | sed 's/.\+(\([0-9]\+\),[ \t]\+\([0-9]\+\),[ \t]\+\([0-9]\+\)[ \t]*).\+/\1.\2.\3/g'`)
@@ -20,7 +14,7 @@ flake-check:
echo -e '❯❯ nix build ".#spine-ldc" --print-build-logs |& nom\n❯❯ nix build ".#spine-dmd" --print-build-logs |& nom\n'; \
echo -e '❯❯ make -s\n❯❯ make -s nix-build-ldc\n❯❯ make -s nix-build-dmd\n'; \
echo -e '❯❯ make -s ldc\n❯❯ make -s dmd\n'; \
- echo -e '❯❯ $(DUB) --compiler=ldc2 --build=ldc2\n❯❯ $(DUB) --compiler=dmd --build=dmd\n';
+ echo -e '❯❯ $(DUB) --compiler=ldmd2 --build=ldmd2\n❯❯ $(DUB) --compiler=dmd --build=dmd\n';
nix-devshell:
echo -ne '\n❯❯ nix flake update && nix flake check --show-trace && nix flake show && nix develop ".#devShell"\n\n❯❯ nix build ".#default" --print-build-logs\n❯❯ nix build ".#spine-search-dmd" --print-build-logs\n❯❯ nix build ".#spine-search-ldc" --print-build-logs\n❯❯ nix build ".#spine-search-gdc" --print-build-logs\n\n'; \